Difference between revisions of "Template:SpellLevel"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>Category:Template{{TemplateDocumentation |name = SpellLevel |description = This template is used to nicely format the class and level necessary for a spell. |ex...") |
MNDeveloper (talk | contribs) |
||
Line 29: | Line 29: | ||
|pal = {{#dplvar:set|fullname|Paladin}} | |pal = {{#dplvar:set|fullname|Paladin}} | ||
|rng = {{#dplvar:set|fullname|Ranger}} | |rng = {{#dplvar:set|fullname|Ranger}} | ||
|sor/wiz = {{#dplvar:set|fullname|Sorcerer/Wizard}}}}[[{{#dplvar:fullname}} Spells#Level {{{2}}}|{{{1}}} {{{2}}}]][[Category:{{#dplvar:fullname}} Spells]]</onlyinclude> | |sor/wiz = {{#dplvar:set|fullname|Sorcerer/Wizard}} | ||
}}[[{{#dplvar:fullname}} Spells#Level {{{2}}}|{{{1}}} {{{2}}}]][[Category:{{#dplvar:fullname}} Spells]]</onlyinclude> |
Revision as of 20:33, 8 June 2018
SpellLevel[edit]
This template is used to nicely format the class and level necessary for a spell.
Example Usage | |
{{SpellLevel|Art|1}} | {{#switch: artArt 1 |
{{SpellLevel|Pal|3}} | {{#switch: palPal 3 |
Usage[edit]
{{SpellLevel|(Class)|(level)}}
Parameter Documentation | |
Class | The spell abbreviation for the class Possible Values:
|
level | The spell level 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.
{{#switch: {{{1}}}[[Sorcerer/Wizard Spells#Level {{{2}}}|{{{1}}} {{{2}}}]]