Difference between revisions of "Template:ClassNameFromAbbr"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{ClassNameFromAbbr|Pal}}</nowiki> | |example2 = <nowiki>{{ClassNameFromAbbr|Pal}}</nowiki> | ||
|example2output = {{ClassNameFromAbbr|Pal}} | |example2output = {{ClassNameFromAbbr|Pal}} | ||
|example3 = <nowiki>{{ClassNameFromAbbr|All}}</nowiki> | |||
|example3output = {{ClassNameFromAbbr|All}} | |||
|parameter1name = Class | |parameter1name = Class | ||
|parameter1description = The abbreviation for the class | |parameter1description = The abbreviation for the class | ||
|parameter1values = | |parameter1values = | ||
* all - All classes | |||
* Alc | * Alc | ||
* Art | * Art | ||
Line 31: | Line 34: | ||
* AotS | * AotS | ||
* Wiz | * Wiz | ||
* all | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| all = All Classes | |||
| alc = Alchemist | | alc = Alchemist | ||
| art = Artificer | | art = Artificer |
Latest revision as of 01:30, 18 November 2023
ClassNameFromAbbr[edit]
This template converts the class abbreviation to the full name.
Example Usage | |
{{ClassNameFromAbbr|Art}} | Artificer |
{{ClassNameFromAbbr|Pal}} | Paladin |
{{ClassNameFromAbbr|All}} | All Classes |
Usage[edit]
{{ClassNameFromAbbr|(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}}}