Difference between revisions of "Template:SpellListTOC"
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = SpellListTOC |description = This template is used to nicely format a one line TOC for a list of spells |category=Spell and Feat Templates |example1 = <nowiki>{{SpellListTOC|Wild Mage|9}}</nowiki> |example1output = {{SpellListTOC|Wild Mage|9}} |parameter1name = Spell Class |parameter1description = What class is this spell list for |parameter2name = Levels |parameter2description = The number of spell levels for the class }} </noin...") |
MNDeveloper (talk | contribs) |
||
Line 11: | Line 11: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifexpr: {{{2}}} > 0|[[{{{1}}} Spells#Level 1 Spells|Level 1 Spells]]}}{{#ifexpr: {{{2}}} > 1| {{!}} [[{{{1}}} Spells#Level 2 Spells|Level 2 Spells]]}}{{#ifexpr: {{{2}}} > 2| {{!}} [[{{{1}}} Spells#Level 3 Spells|Level 3 Spells]]}}{{#ifexpr: {{{2}}} > 3| {{!}} [[{{{1}}} Spells#Level 4 Spells|Level 4 Spells]]}}{{#ifexpr: {{{2}}} > 4| {{!}} [[{{{1}}} Spells#Level 5 Spells|Level 5 Spells]]}}{{#ifexpr: {{{2}}} > 5| {{!}} [[{{{1}}} Spells#Level 6 Spells|Level 6 Spells]]}}{{#ifexpr: {{{2}}} > 6| {{!}} [[{{{1}}} Spells#Level 7 Spells|Level 7 Spells]]}}{{#ifexpr: {{{2}}} > 7| {{!}} [[{{{1}}} Spells#Level 8 Spells|Level 8 Spells]]}}{{#ifexpr: {{{2}}} > 8| {{!}} [[{{{1}}} Spells#Level 9 Spells|Level 9 Spells]]}}{{#ifexpr: {{{2}}} > 9| {{!}} [[{{{1}}} Spells#Level 10 Spells|Level 10 Spells]]}}{{#ifexpr: {{{2}}} > 10| {{!}} [[{{{1}}} Spells#Level 11 Spells|Level 11 Spells]]}}</onlyinclude> | <onlyinclude>{{#ifexpr: {{{2}}} > 0|[[{{{1}}} Spells#Level 1 Spells|Level 1 Spells]]}}{{#ifexpr: {{{2}}} > 1| {{!}} [[{{{1}}} Spells#Level 2 Spells|Level 2 Spells]]}}{{#ifexpr: {{{2}}} > 2| {{!}} [[{{{1}}} Spells#Level 3 Spells|Level 3 Spells]]}}{{#ifexpr: {{{2}}} > 3| {{!}} [[{{{1}}} Spells#Level 4 Spells|Level 4 Spells]]}}{{#ifexpr: {{{2}}} > 4| {{!}} [[{{{1}}} Spells#Level 5 Spells|Level 5 Spells]]}}{{#ifexpr: {{{2}}} > 5| {{!}} [[{{{1}}} Spells#Level 6 Spells|Level 6 Spells]]}}{{#ifexpr: {{{2}}} > 6| {{!}} [[{{{1}}} Spells#Level 7 Spells|Level 7 Spells]]}}{{#ifexpr: {{{2}}} > 7| {{!}} [[{{{1}}} Spells#Level 8 Spells|Level 8 Spells]]}}{{#ifexpr: {{{2}}} > 8| {{!}} [[{{{1}}} Spells#Level 9 Spells|Level 9 Spells]]}}{{#ifexpr: {{{2}}} > 9| {{!}} [[{{{1}}} Spells#Level 10 Spells|Level 10 Spells]]}}{{#ifexpr: {{{2}}} > 10| {{!}} [[{{{1}}} Spells#Level 11 Spells|Level 11 Spells]]}}{{#ifexpr: {{{2}}} > 11| {{!}} [[{{{1}}} Spells#Level 12 Spells|Level 12 Spells]]}}{{#ifexpr: {{{2}}} > 12| {{!}} [[{{{1}}} Spells#Level 13 Spells|Level 13 Spells]]}}{{#ifexpr: {{{2}}} > 13| {{!}} [[{{{1}}} Spells#Level 14 Spells|Level 14 Spells]]}}{{#ifexpr: {{{2}}} > 14| {{!}} [[{{{1}}} Spells#Level 15 Spells|Level 15 Spells]]}}{{#ifexpr: {{{2}}} > 15| {{!}} [[{{{1}}} Spells#Level 16 Spells|Level 16 Spells]]}}{{#ifexpr: {{{2}}} > 16| {{!}} [[{{{1}}} Spells#Level 17 Spells|Level 17 Spells]]}}{{#ifexpr: {{{2}}} > 17| {{!}} [[{{{1}}} Spells#Level 18 Spells|Level 18 Spells]]}}{{#ifexpr: {{{2}}} > 18| {{!}} [[{{{1}}} Spells#Level 19 Spells|Level 19 Spells]]}}{{#ifexpr: {{{2}}} > 19| {{!}} [[{{{1}}} Spells#Level 20 Spells|Level 20 Spells]]}}{{#ifexpr: {{{2}}} > 20| {{!}} [[{{{1}}} Spells#Level 21 Spells|Level 21 Spells]]}}{{#ifexpr: {{{2}}} > 21| {{!}} [[{{{1}}} Spells#Level 22 Spells|Level 22 Spells]]}}{{#ifexpr: {{{2}}} > 22| {{!}} [[{{{1}}} Spells#Level 23 Spells|Level 23 Spells]]}}{{#ifexpr: {{{2}}} > 23| {{!}} [[{{{1}}} Spells#Level 24 Spells|Level 24 Spells]]}}{{#ifexpr: {{{2}}} > 24| {{!}} [[{{{1}}} Spells#Level 25 Spells|Level 25 Spells]]}}{{#ifexpr: {{{2}}} > 25| {{!}} [[{{{1}}} Spells#Level 26 Spells|Level 26 Spells]]}}{{#ifexpr: {{{2}}} > 26| {{!}} [[{{{1}}} Spells#Level 27 Spells|Level 27 Spells]]}}{{#ifexpr: {{{2}}} > 27| {{!}} [[{{{1}}} Spells#Level 28 Spells|Level 28 Spells]]}}{{#ifexpr: {{{2}}} > 28| {{!}} [[{{{1}}} Spells#Level 29 Spells|Level 29 Spells]]}}{{#ifexpr: {{{2}}} > 29| {{!}} [[{{{1}}} Spells#Level 30 Spells|Level 30 Spells]]}}{{#ifexpr: {{{2}}} > 30| {{!}} [[{{{1}}} Spells#Level 31 Spells|Level 31 Spells]]}}{{#ifexpr: {{{2}}} > 31| {{!}} [[{{{1}}} Spells#Level 32 Spells|Level 32 Spells]]}}{{#ifexpr: {{{2}}} > 32| {{!}} [[{{{1}}} Spells#Level 33 Spells|Level 33 Spells]]}}{{#ifexpr: {{{2}}} > 33| {{!}} [[{{{1}}} Spells#Level 34 Spells|Level 34 Spells]]}}{{#ifexpr: {{{2}}} > 34| {{!}} [[{{{1}}} Spells#Level 35 Spells|Level 35 Spells]]}}</onlyinclude> |
Latest revision as of 21:17, 20 June 2024
SpellListTOC[edit]
This template is used to nicely format a one line TOC for a list of spells
Example Usage | |
{{SpellListTOC|Wild Mage|9}} | Level 1 Spells | Level 2 Spells | Level 3 Spells | Level 4 Spells | Level 5 Spells | Level 6 Spells | Level 7 Spells | Level 8 Spells | Level 9 Spells |
Usage[edit]
{{SpellListTOC|(Spell Class)|(Levels)}}
Parameter Documentation | |
Spell Class | What class is this spell list for |
Levels | The number of spell levels for the class |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".