Difference between revisions of "Template:SpellClassNameFromAbbr"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 31: | Line 31: | ||
* R2 - Rank 2 (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) | * R3 - Rank 3 (Used for SLA spells cost per rank) | ||
|parameter1name = Include Class Link | |||
|parameter1description = Any value will cause a class name to have a link | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 39: | Line 41: | ||
| r2 = Rank 2 | | r2 = Rank 2 | ||
| r3 = Rank 3 | | r3 = Rank 3 | ||
|#default = {{ClassNameFromAbbr|{{{1}}}}} | |#default = {{#if: {{{2|}}}|[[{{ClassNameFromAbbr|{{{1}}}}}]]|{{ClassNameFromAbbr|{{{1}}}}}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 19:07, 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|(Include Class Link)}}
Parameter Documentation | |
Include Class Link | Any value will cause a class name to have a link 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}}}