Template:Spell card
Jump to navigation
Jump to search
About this template
[edit]Creates one spell card inside a spell category. The desktop card is also used as the source when the site JavaScript builds the phone and tablet spellbook cards.
Do not change the generated CSS classes, ID, or child order. The responsive spellbook JavaScript reads and clones this structure.
Parameters
[edit]title- spell name shown on the card.id- optional exact existing page anchor. Do not invent IDs for cards that do not currently have one.meta- flexible metadata such as type, cost, casting time, range, chant, and representation.content- flexible spell-rule sections such as effect, level effects, restrictions, servant statistics, and prerequisites.
Basic example
[edit]{{Spell card
|title=Example Spell
|id=Example_Spell
|meta=
<div>'''Type:''' Fixed</div>
<div>'''Cost:''' 1 Spell Point</div>
|content=
<div class="wizlords-spell-card-section">'''Effect:''' Example effect.</div>
<div class="wizlords-spell-card-section">'''Prerequisites:''' None.</div>
}}