Template:Class category

From Wizards and Warlords
Jump to navigation Jump to search

About this template

[edit]

Creates one Martial, Arcane, or Divine class category. It generates the hidden TOC heading, responsive Citizen accordion, and card grid required by the existing CSS and JavaScript.

Place Template:Class card calls inside content. Do not add another wrapper around the cards.

Parameters

[edit]
  • type - martial, arcane, or divine in lowercase.
  • count - number used by the existing cards-N layout class.
  • content - the Class card templates in this category.

Basic example

[edit]
{{Class category
|type=martial
|count=5
|content=
{{Class card
|id=Fighter
|name=Fighter
|icon=FighterIcon.png
|summary=Balanced and adaptable.
|armour=Light and Heavy
|shield=Yes
|melee=All
|bow=No
|blackpowder=Single-Handed
|spell points=None
|passive=None
}}
}}