Difference between revisions of "Template:ClassNameFromAbbr"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = ClassNameFromAbbr |description = This template converts the class abbreviation to the full name. |category=Shared Templates |example...") |
MNDeveloper (talk | contribs) |
||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{ClassNameFromAbbr|Art}}</nowiki> | |example1 = <nowiki>{{ClassNameFromAbbr|Art}}</nowiki> | ||
|example1output = {{ClassNameFromAbbr|Art}} | |example1output = {{ClassNameFromAbbr|Art}} | ||
|example2 = <nowiki>{{ClassNameFromAbbr| | |example2 = <nowiki>{{ClassNameFromAbbr|Pal}}</nowiki> | ||
|example2output = {{ClassNameFromAbbr| | |example2output = {{ClassNameFromAbbr|Pal}} | ||
|parameter1name = Class | |parameter1name = Class | ||
|parameter1description = The abbreviation for the class | |parameter1description = The abbreviation for the class | ||
Line 27: | Line 27: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| | | art = Artificer | ||
| | | bbn = Barbarian | ||
| | | brd = Bard | ||
| | | vlr = Cleric | ||
| | | drd = Druid | ||
| | | fvs = Favored Soul | ||
| | | ftr = Fighter | ||
| | | mnk = Monk | ||
| | | pal = Paladin | ||
| | | rgr = Ranger | ||
| | | rog = Rogue | ||
| | | sor = Sorcerer | ||
| | | wlk = Warlock | ||
| | | wiz = Wizard | ||
|#default = | |#default = | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 02:25, 20 June 2019
ClassNameFromAbbr[edit]
This template converts the class abbreviation to the full name.
Example Usage | |
{{ClassNameFromAbbr|Art}} | Artificer |
{{ClassNameFromAbbr|Pal}} | Paladin |
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.