Template:MagicSpellbookTable: Difference between revisions

Updated to provide a bit more information, an example, and valid spellbook names.
(New template for spells by spellbook)
 
(Updated to provide a bit more information, an example, and valid spellbook names.)
 
Line 1: Line 1:
This template is powered by Lua module [[Module:Magic]].
<noinclude>This template is generated via Lua using <code>getSpellBookTable</code> in [[Module:Magic]].


Syntax: {{T|MagicSpellbookTable|<SpellBookName>}}
'''Usage:''' {{T|MagicSpellbookTable|Ancient}}, where <code>Ancient</code> is either: Standard, Ancient, Archaic, Abyssal, Curse, Aurora, altMagic.


<includeonly><onlyinclude>{{#invoke:Magic|getSpellBookTable|{{{1|}}}}}</onlyinclude></includeonly>
For example, {{T|MagicSpellbookTable|Ancient}} produces the following:
{{MagicSpellbookTable|Ancient}}
 
</noinclude><includeonly><onlyinclude>{{#invoke:Magic|getSpellBookTable|{{{1|}}}}}</onlyinclude></includeonly>