Difference between revisions of "Template:SpellLevel"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 8: | Line 8: | ||
|example2output = {{SpellLevel|Pal|3}} | |example2output = {{SpellLevel|Pal|3}} | ||
|parameter1name = Class | |parameter1name = Class | ||
|parameter1description = The spell abbreviation for the class | |parameter1description = The spell abbreviation for the class, class and level can be repeated 10 times | ||
|parameter1values = | |parameter1values = | ||
* Art | * Art | ||
* Brd | * Brd | ||
* Clr | * Clr | ||
* Drd | * Drd | ||
* Fvs | |||
* Pal | * Pal | ||
* | * Rgr | ||
* Sor | * Sor | ||
* Wiz | |||
|parameter2name = level | |parameter2name = level | ||
|parameter2description = The spell level for the class. | |parameter2description = The spell level for the class. | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{ | <onlyinclude>[[{{ClassNameFromAbbr|{{{1}}}}} Spells#Level {{{2}}}|{{ClassNameFromAbbr|{{{1}}}}} {{{2}}}]]{{#ifeq: {{FULLPAGENAME}} |Template:SpellLevel||{{#ifeq: {{#dplvar: fromdpl}} |true||[[Category:{{ClassNameFromAbbr|{{{1}}}}} Level {{{2|}}} Spells]]}}}}</onlyinclude> | ||
| | |||
Revision as of 02:28, 20 June 2019
SpellLevel[edit]
This template is used to nicely format the class and level necessary for a spell.
Example Usage | |
{{SpellLevel|Art|1}} | Artificer 1 |
{{SpellLevel|Pal|3}} | Paladin 3 |
Usage[edit]
{{SpellLevel|(Class)|(level)}}
Parameter Documentation | |
Class | The spell abbreviation for the class, class and level can be repeated 10 times 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.
[[{{{1}}} Spells#Level {{{2}}}|{{{1}}} {{{2}}}]]