Template:ClassInfoBox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox custom-table" style="float:right; width:100%; max-width:200px; margin:0 0 2em 2em; text-align:center;" | |||
{| class="infobox" style="float:right; width:100%; max-width: | |||
|- | |- | ||
! colspan="2 | ! colspan="2" | '''Class Overview''' | ||
'''Class Overview''' | |||
|- | |- | ||
| Role | |||
| {{{Role}}} | |||
|- | |- | ||
| | | Weapons | ||
| {{{Weapons}}} | |||
|- class="middle-header" | |||
! colspan="2" style="border-bottom:1px solid #555;" | '''Attributes''' | |||
|- | |- | ||
| [[File:Strength.png|15px]] [[Attributes#Strength_(STR)|STR]] | |||
| {{{STR}}} | |||
|- | |- | ||
| [[File:Agility.png|15px]] [[Attributes#Agility_(AGI)|AGI]] | |||
| {{{AGI}}} | |||
|- | |- | ||
| [[File:Vitality.png|15px]] [[Attributes#Vitality_(VIT)|VIT]] | |||
| {{{VIT}}} | |||
|- | |- | ||
| [[File:Intelligence.png|15px]] [[Attributes#Intelligence_(INT)|INT]] | |||
| {{{INT}}} | |||
|- | |- | ||
| [[File:Dexterity.png|15px]] [[Attributes#Dexterity_(DEX)|DEX]] | |||
| {{{DEX}}} | |||
|- | |- | ||
| [[File:Luck.png|15px]] [[Attributes#Luck_(LUK)|LUK]] | |||
| {{{LUK}}} | |||
|} | |} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Infobox for a class overview: shows the class role, common weapons, and attribute emphasis (numeric).", | |||
"format": "block", | |||
"params": { | |||
"Role": { | |||
"label": "Role", | |||
"description": "Main role(s) or playstyle for the class. Use <br> to list multiple lines (e.g., Healing, Support, Holy Magic).", | |||
"type": "string", | |||
"example": "Healing <br> Support <br> Holy Magic", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"Weapons": { | |||
"label": "Weapons", | |||
"description": "Primary weapon type(s) this class commonly uses.", | |||
"type": "string", | |||
"example": "Book", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"STR": { | |||
"label": "STR", | |||
"description": "Strength emphasis as a number.", | |||
"type": "number", | |||
"example": "1", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"AGI": { | |||
"label": "AGI", | |||
"description": "Agility emphasis as a number.", | |||
"type": "number", | |||
"example": "1", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"VIT": { | |||
"label": "VIT", | |||
"description": "Vitality emphasis as a number.", | |||
"type": "number", | |||
"example": "9", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"INT": { | |||
"label": "INT", | |||
"description": "Intelligence emphasis as a number.", | |||
"type": "number", | |||
"example": "12", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"DEX": { | |||
"label": "DEX", | |||
"description": "Dexterity emphasis as a number.", | |||
"type": "number", | |||
"example": "9", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"LUK": { | |||
"label": "LUK", | |||
"description": "Luck emphasis as a number.", | |||
"type": "number", | |||
"example": "1", | |||
"required": false, | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": ["Role", "Weapons", "STR", "AGI", "VIT", "INT", "DEX", "LUK"] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
<noinclude>[[Category:Templates]]</noinclude> |