Difference between revisions of "Template:SpellLevel"

From DDO Compendium
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}}}]]{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[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:54, 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
{{SpellLevel|Pal|3}}Pal 3

Usage[edit]

{{SpellLevel|(Class)|(level)}}

Parameter Documentation
ClassThe spell abbreviation for the class
Possible Values:
  • Art
  • Brd
  • Clr/Fvs
  • Fvs (if only fvs)
  • Drd
  • Pal
  • Rng
  • Sor/Wiz
levelThe 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}}}]]