Template:MagicSpellbookTable: Difference between revisions

From Melvor Idle
(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>

Latest revision as of 14:23, 27 October 2024

This template is generated via Lua using getSpellBookTable in Module:Magic.

Usage: {{MagicSpellbookTable|Ancient}}, where Ancient is either: Standard, Ancient, Archaic, Abyssal, Curse, Aurora, altMagic.

For example, {{MagicSpellbookTable|Ancient}} produces the following: