Ad placeholder

Template:Infobox character/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{license|ccbysa}}
{{license|ccbysa}}
[[Category:Templates]]
This template adds an infobox with character information. Can be combined with {{tlink|infobox statistics}}.
[[Category:Infobox templates]]


== Example use ==
== Example use ==
{{{Infobox character
{{{Infobox character
| class = [[Rogue]]
| class = [[Rogue]]
Line 23: Line 21:
== Template data ==
== Template data ==
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"labelstyle": {
"child": {},
"description": "Add a custom CSS style to labels."
"labelstyle": {},
},
"datastyle": {},
"datastyle": {
"name": {},
"description": "Add a custom CSS style to data."
"level": {},
},
"class_title": {},
"name": {
"subclass": {},
"label": "Name",
"image": {},
"description": "The name of the character or creature.",
"imagesize": {},
"type": "string",
"imagecaption": {},
"suggestedvalues": [
"role": {},
"Astarion",
"creator": {},
"Gale",
"voice": {},
"Mind flayer"
"full_name": {},
],
"titles": {},
"suggested": true
"race": {},
},
"class": {},
"level": {
"background": {},
"label": "Level",
"hometown": {},
"description": "The character or creature's level.",
"age": {},
"type": "number",
"family": {},
"suggestedvalues": [
"modules": {},
"1",
"5",
"8"
]
},
"class": {
"label": "Class",
"description": "The character or creature's class or classes.",
"type": "string",
"suggestedvalues": [
"Fighter",
"[[Warlock]]",
"[[Fighter]] (6) [[Druid]] (2)"
]
},
"subclass": {
"label": "Subclass",
"description": "Enter one or more subclasses.",
"suggestedvalues": [
"Knowledge Domain"
]
},
"image": {
"label": "Image",
"description": "Enter the name of an image, excluding the File namespace.",
"suggestedvalues": [
"Astarion.png"
],
"suggested": true
},
"imagesize": {
"label": "Image size",
"description": "Enter an image size. This should usually be 200px, which is the default.",
"default": "200px",
"autovalue": "200px",
"required": true
},
"imagecaption": {
"label": "Image caption",
"description": "A caption for the infobox's image.",
"suggested": true
},
"label2": {},
"data2": {},
"label3": {},
"data3": {},
"label4": {},
"data4": {},
"label5": {},
"data5": {},
"label6": {},
"data6": {},
"label7": {},
"data7": {},
"label8": {},
"data8": {},
"label9": {},
"data9": {},
"header10": {},
"label11": {},
"data11": {},
"label12": {},
"data12": {},
"label13": {},
"data13": {},
"label14": {},
"data14": {},
"label15": {},
"data15": {},
"label16": {},
"data16": {},
"label17": {},
"data17": {},
"label18": {},
"data18": {},
"background": {
"label": "Background",
"description": "A character background.",
"suggestedvalues": [
"Charlatan",
"Soldier"
]
},
"race": {
"label": "Race",
"description": "A race, including subrace.",
"suggestedvalues": [
"High elf",
"Human",
"Lightfoot halfling"
]
},
"creature_type": {
"label": "Creature type",
"suggestedvalues": [
"Humanoid",
"Giant"
]
},
"size": {
"label": "Creature  size",
"suggestedvalues": [
"Medium",
"Large",
"Small"
]
},
"movement_speed_meters": {
"label": "Movement speed (meters)",
"description": "A creature's movement speed, in meters. No unit should be added.",
"suggestedvalues": [
"5",
"9"
]
},
"movement_speed_feet": {
"label": "Movement speed (feet)",
"description": "A creature's movement speed, in feet. No unit should be added.",
"suggestedvalues": [
"15",
"67"
]
},
"proficiency_bonus": {
"label": "Proficiency bonus",
"description": "A creature's proficiency bonus, without a plus sign.",
"suggestedvalues": [
"2",
"4"
]
},
"initiative": {
"label": "Initiative",
"description": "A creature's initative bonus or penalty. Plus or minus signs should be added.",
"suggestedvalues": [
"+1",
"-2"
]
},
"save_proficiencies": {
"label": "Save proficiencies",
"description": "A creature's save proficiencies, in the form of a bulleted list.",
"suggestedvalues": [
"* Intelligence * Strength"
]
},
"conditions": {
"label": "Conditions",
"description": "Add the creature's conditions in the form of a bulleted list. These area always displaced."
},
"conditions_balanced": {
"description": "Add the creature's conditions in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"conditions_tactician": {
"description": "Add the creature's conditions that it gains in Tactician mode, in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"conditions_honour": {
"description": "Add the creature's conditions, that it gains in Honour mode, in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"passive_features": {
"description": "Add the creature's passive features in the form of a bulleted list. These will always be visible."
},
"passive_features_balanced": {
"description": "Add the creature's passive features in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"passive_features_honour": {
"description": "Add the creature's Honour mode passive features in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"passive_features_tactician": {
"description": "Add the creature's Tactician mode passive features in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"actions": {
"description": "Add the creature's actions in the form of a bulleted list. These will always be visible."
},
"actions_balanced": {
"description": "Add the creature's actions in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"actions_honour": {
"description": "Add the creature's Honour mode actions in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"actions_tactician": {
"description": "Add the creature's Tactician mode actions in the form of a bulleted list. These will be collapsible and are collapsed by default."
},
"immune_balanced": {},
"resistant_balanced": {},
"vulnerable_balanced": {},
"immune_tactician": {},
"resistant_tactician": {},
"vulnerable_tactician": {},
"immune": {},
"resistant": {},
"vulnerable": {},
"expansion": {},
"voice_actor_note": {},
"hit_points": {
"label": "Hit points",
"description": "The creature's hit points in Balanced mode."
},
"hit_points_tactician": {
"description": "The creature's hit points in Tactician mode."
},
"hit_points_honour": {
"description": "The creature's hit points in Honour mode."
},
"armour_class": {
"label": "The character's AC.",
"suggestedvalues": [
"20",
"10"
]
},
"weight_kg": {
"label": "Weight (kg)",
"description": "Weight in kilograms. Numbers only, no unit.",
"suggestedvalues": [
"50",
"20"
]
},
"weight_lb": {
"label": "Weight (lb)",
"description": "Weight in pounds. Numbers only, no unit.",
"suggestedvalues": [
"25",
"68"
]
},
"voice_actor": {
"suggestedvalues": [
"Neil Newbon"
],
"description": "The character's voice actor. Given in full name, no special formatting."
},
"below": {}
"below": {}
}
}
}
}</templatedata>
</templatedata>
[[Category:Templates]]
[[Category:Infobox templates]]
8,856
edits

Navigation menu