Jump to content
Toggle menu
  • 3.1K articles
  • 4.4K files
  • 19 users
  • 91.5K edits
Ashenzari's Archive
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Spellbook2: Difference between revisions

Template page
imported>CommanderC
Created page with "<includeonly>{{#invoke:spellbook|short_spell_list|{{{1}}}}}</includeonly><noinclude> Example: <nowiki>{{spellbook2|Book of Maledictions}}</nowiki> generates: {{spellbook2|Boo..."
 
Predelnik (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:spellbook|short_spell_list|{{{1}}}}}</includeonly><noinclude>
<includeonly>{{#invoke:spellbook|short_spell_list|{{{1}}}|{{{2|}}}}}</includeonly><noinclude>
Generates a compact list of spells for a book. Optionally a spell school can be added as a second parameter, to only lists spells belonging to that school.
 
Example:
Example:
  <nowiki>{{spellbook2|Book of Maledictions}}</nowiki>
  <nowiki>{{spellbook2|Book of Frost}}</nowiki>
generates:
generates:
{{spellbook2|Book of Maledictions}}
 
{{spellbook2|Book of Frost}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 16:37, 19 May 2026

Generates a compact list of spells for a book. Optionally a spell school can be added as a second parameter, to only lists spells belonging to that school.

Example:

{{spellbook2|Book of Frost}}

generates:

Book of Frost: Freeze, Frozen Ramparts, Hailstorm