Template:Spell category

From Wizards and Warlords
Revision as of 04:35, 16 July 2026 by Aurelian (talk | contribs) (Created page with "<includeonly><div class="wizlords-spell-category-heading">{{{title}}}</div> <div class="wizlords-spell-category-description">{{{description}}}</div> <div class="wizlords-spell-card-grid cards-{{{count}}}"> {{{content}}} </div></includeonly><noinclude> == About this template == 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>
}}
}}