Template:Spell category

From Wizards and Warlords
Jump to navigation Jump to search

About this template

[edit]

Creates one spell category heading, description, and card grid. It intentionally adds no outer category wrapper because the mobile spellbook builder expects these elements to be direct children of the spellbook content.

Place Template:Spell card calls inside content.

Parameters

[edit]
  • title - category heading.
  • description - short category description.
  • count - number used by the existing cards-N layout class.
  • content - Spell card templates in this category.

Basic example

[edit]
{{Spell category
|title=Example Category
|description=Short description of this group of spells.
|count=1
|content=
{{Spell card
|title=Example Spell
|meta=<div>'''Type:''' Fixed</div>
|content=<div class="wizlords-spell-card-section">'''Effect:''' Example effect.</div>
}}
}}