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) |
||
(13 intermediate revisions by the same user not shown) | |||
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}} | ||
|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 | ||
| | | bbn = Barbarian | ||
| | | brd = Bard | ||
| | | ss = Stormsinger | ||
| | | clr = Cleric | ||
| | | da = Dark Apostate | ||
| | | dd = Dragon Disciple | ||
| | | dl = Dragon Lord | ||
| | | drd = Druid | ||
| | | bc = Blight Caster | ||
| | | fvs = Favored Soul | ||
| | | ftr = Fighter | ||
|#default = | | mnk = Monk | ||
| pal = Paladin | |||
| sf = Sacred Fist | |||
| rgr = Ranger | |||
| dh = Dark Hunter | |||
| rog = Rogue | |||
| sor = Sorcerer | |||
| wm = Wild Mage | |||
| wlk = Warlock | |||
| aots = Acolyte of the Skin | |||
| wiz = Wizard | |||
|#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}}}