Template:Spellbook2: Difference between revisions
Template page
More actions
imported>CommanderC No edit summary |
imported>Medar Support for filtering by school. |
||
| 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 Maledictions}}</nowiki> | ||
Revision as of 10:12, 1 February 2016
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 Maledictions}}
generates:
Lua error in Module:Spellbook at line 94: attempt to index field '?' (a nil value).