Difference between revisions of "Template:SpellLevel"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 36: | Line 36: | ||
|wiz/sor = {{#dplvar:set|fullname|Sorcerer/Wizard}} | |wiz/sor = {{#dplvar:set|fullname|Sorcerer/Wizard}} | ||
|#default = {{#dplvar:set|fullname|Please use a valid class syntax. See [[Template:SpellLevel]]}} | |#default = {{#dplvar:set|fullname|Please use a valid class syntax. See [[Template:SpellLevel]]}} | ||
}}[[{{#dplvar:fullname}} Spells#Level {{{2}}}|{{{1}}} {{{2}}}]][[Category:{{#dplvar:fullname}} Level {{{2|}}} Spells]]</onlyinclude> | }}[[{{#dplvar:fullname}} Spells#Level {{{2}}}|{{{1}}} {{{2}}}]]{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:{{#dplvar:fullname}} Level {{{2|}}} Spells]]}}</onlyinclude> |
Revision as of 19:51, 8 February 2019
SpellLevel[edit]
This template is used to nicely format the class and level necessary for a spell.
Example Usage | |
{{SpellLevel|Art|1}} | Art 1{{#ifeq: Template:SpellLevel |Template:SpellLevel|| |
{{SpellLevel|Pal|3}} | Pal 3{{#ifeq: Template:SpellLevel |Template:SpellLevel|| |
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.
[[Please use a valid class syntax. See Template:SpellLevel Spells#Level {{{2}}}|{{{1}}} {{{2}}}]]{{#ifeq: Template:SpellLevel |Template:SpellLevel||[[Category:Please use a valid class syntax. See Template:SpellLevel Level Spells]]