Difference between revisions of "Template:ClassNameFromAbbr"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(12 intermediate revisions 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 | |||
* Art | * Art | ||
* Bbn | * Bbn | ||
* Brd | * Brd | ||
* ss | |||
* Clr | * Clr | ||
* da | |||
* Drd | * Drd | ||
* Bc | |||
* Fvs | * Fvs | ||
* Ftr | * Ftr | ||
* DL | |||
* Mnk | * Mnk | ||
* dd | |||
* Pal | * Pal | ||
* sf | |||
* Rgr | * Rgr | ||
* Dh | |||
* Rog | * Rog | ||
* Sor | * Sor | ||
* Wm | |||
* Wlk | * Wlk | ||
* AotS | |||
* Wiz | * Wiz | ||
* all | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#switch: {{lc:{{{1}}}}} | ||
| all = All Classes | |||
| alc = Alchemist | |||
| art = Artificer | | art = Artificer | ||
| bbn = Barbarian | | bbn = Barbarian | ||
| brd = Bard | | brd = Bard | ||
| | | ss = Stormsinger | ||
| clr = Cleric | |||
| da = Dark Apostate | |||
| dd = Dragon Disciple | |||
| dl = Dragon Lord | |||
| drd = Druid | | drd = Druid | ||
| bc = Blight Caster | |||
| fvs = Favored Soul | | fvs = Favored Soul | ||
| ftr = Fighter | | ftr = Fighter | ||
| mnk = Monk | | mnk = Monk | ||
| pal = Paladin | | pal = Paladin | ||
| sf = Sacred Fist | |||
| rgr = Ranger | | rgr = Ranger | ||
| dh = Dark Hunter | |||
| rog = Rogue | | rog = Rogue | ||
| sor = Sorcerer | | sor = Sorcerer | ||
| wm = Wild Mage | |||
| wlk = Warlock | | wlk = Warlock | ||
| aots = Acolyte of the Skin | |||
| wiz = Wizard | | wiz = Wizard | ||
|#default = | |#default = {{{1}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Latest revision as of 02:13, 13 February 2025
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}}}