Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 04:39, 16 July 2026 by Aurelian (talk | contribs) (Created page with "<includeonly><div id="wizlords-{{{type}}}-spellbook" class="wizlords-spellbook wizlords-spellbook-{{{type}}} mw-collapsible mw-collapsed"> <div class="wizlords-spellbook-title"><span class="wizlords-spellbook-title-icon">[[File:{{ucfirst:{{{type}}}}}SpellbookIcon.png|40x40px|link=]]</span><span>{{ucfirst:{{{type}}}}} Spellbook</span></div> <div class="mw-collapsible-content"> {{{content}}} <div class="wizlords-spellbook-bottom-toggle wizlords-spellbook-collapse-{{{type}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

About this template

edit

Creates the Arcane or Divine desktop spellbook shell. The desktop content is also the source used by JavaScript to build the separate phone and tablet spellbooks.

Do not change the generated ID, CSS classes, title structure, direct content wrapper, or bottom control. The site JavaScript depends on all of them.

Parameters

edit
  • type - arcane or divine in lowercase. This generates the existing ID, modifier classes, title, icon, and bottom-control class.
  • content - Spell category templates and any existing servant-rules blocks.

Basic example

edit
{{Spellbook
|type=arcane
|content=
{{Spell category
|title=Example Category
|description=Example category description.
|count=1
|content=
{{Spell card
|title=Example Spell
|meta=<div>'''Type:''' Fixed</div>
|content=<div class="wizlords-spell-card-section">'''Effect:''' Example effect.</div>
}}
}}
}}