Difference between revisions of "Template:SpellClassNameFromAbbr"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = Template:SpellClassNameFromAbbr |description = This template converts the class abbreviation to the full name for use in spells. |ca...") |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{SpellClassNameFromAbbr|Clk}}</nowiki> | |example2 = <nowiki>{{SpellClassNameFromAbbr|Clk}}</nowiki> | ||
|example2output = {{SpellClassNameFromAbbr|Clk}} | |example2output = {{SpellClassNameFromAbbr|Clk}} | ||
|example3 = <nowiki>{{SpellClassNameFromAbbr|R1}}</nowiki> | |||
|example3output = {{SpellClassNameFromAbbr|R1}} | |||
|parameter1name = Class | |parameter1name = Class | ||
|parameter1description = The abbreviation for the class | |parameter1description = The abbreviation for the class | ||
Line 24: | Line 26: | ||
* Wlk | * Wlk | ||
* Wiz | * Wiz | ||
* Clk | * SLA - Spell Like Ability for Levels | ||
* Clk - Clickie | |||
* R1 - Rank 1 (Used for SLA spells cost per rank) | |||
* R2 - Rank 2 (Used for SLA spells cost per rank) | |||
* R3 - Rank 3 (Used for SLA spells cost per rank) | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| clk = Clickie | | clk = Clickie | ||
| sla = SLA | |||
| r1 = Rank 1 | |||
| r2 = Rank 2 | |||
| r3 = Rank 3 | |||
|#default = {{ClassNameFromAbbr|{{{1}}}}} | |#default = {{ClassNameFromAbbr|{{{1}}}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 18:57, 27 June 2019
Template:SpellClassNameFromAbbr[edit]
This template converts the class abbreviation to the full name for use in spells.
Example Usage | |
{{SpellClassNameFromAbbr|Art}} | Artificer |
{{SpellClassNameFromAbbr|Clk}} | Clickie |
{{SpellClassNameFromAbbr|R1}} | Rank 1 |
Usage[edit]
{{Template:SpellClassNameFromAbbr|(Class)}}
Parameter Documentation | |
Class | The abbreviation for the class Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{1}}}