Template:Class category

From Wizards and Warlords
Revision as of 03:47, 16 July 2026 by Aurelian (talk | contribs) (Created page with "<includeonly><div class="wizlords-toc-only-heading"> === {{ucfirst:{{{type}}}}} === </div> <div class="wizlords-class-category-accordion wizlords-class-category-accordion-{{{type}}}"> <div class="wizlords-class-category-accordion-heading"><span class="wizlords-class-category-accordion-title">{{ucfirst:{{{type}}}}}</span><span class="wizlords-class-category-accordion-icon"></span></div> <div class="wizlords-class-category-accordion-body"> <div class="wizlords-class-card-g...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
}}
}}