Template:Class card
Jump to navigation
Jump to search
About this template
[edit]Creates one class card on the Classes page. The card uses the existing desktop layout and becomes expandable on phones.
Use this template inside Template:Class category. Do not change the generated IDs, CSS classes, or nesting because page links, CSS, and JavaScript depend on them.
Parameters
[edit]id- exact page anchor used by links to the class.name- class name shown on the card.icon- image filename withoutFile:.summary- short class description.armour,shield,melee,bow,blackpowder,spell points, andpassive- the existing class rules.content- optional extra rule content for a genuine exception.
Basic example
[edit]{{Class card
|id=Fighter
|name=Fighter
|icon=FighterIcon.png
|summary=Balanced and adaptable; excels in both offense and defense.
|armour=Light and Heavy
|shield=Yes
|melee=All
|bow=No
|blackpowder=Single-Handed
|spell points=None
|passive=None
}}