Difference between revisions of "Template:Class"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{ #switch:{{lc:{{{1}}}}} | {{ #switch:{{lc:{{{1}}}}} | ||
| marauder | | | marauder | mrd = {{Marauder}} | ||
| gladiator | | | gladiator | gla = {{Gladiator}} | ||
| pugilist | | | pugilist | pgl = {{Pugilist}} | ||
| lancer | | | lancer | lnc = {{Lancer}} | ||
| archer | | | archer | arc = {{Archer}} | ||
| rogue | | | rogue | rog = {{Rogue}} | ||
| conjurer | | | conjurer | cnj = {{Conjurer}} | ||
| thaumaturge | | | thaumaturge | thm = {{Thaumaturge}} | ||
| arcanist | | | arcanist | acn = {{Arcanist}} | ||
| warrior | | | warrior | war = {{Warrior}} | ||
| paladin | | | paladin | pld = {{Paladin}} | ||
| monk | | | monk | mnk = {{Monk}} | ||
| dragoon | | | dragoon | drg = {{Dragoon}} | ||
| bard | | | bard | brd = {{Bard}} | ||
| white mage | | | white mage | whm = {{White Mage}} | ||
| black mage | | | black mage | blm = {{Black Mage}} | ||
| summoner | | | summoner | smn = {{Summoner}} | ||
| scholar | | | scholar | sch = {{Scholar}} | ||
| ninja | | | ninja | nin = {{Ninja}} | ||
| dark knight | | | dark knight | drk = {{Dark Knight}} | ||
| astrologian | | | astrologian | ast = {{Astrologian}} | ||
| machinist | | | machinist | mch = {{Machinist}} | ||
| samurai | | | samurai | sam = {{Samurai}} | ||
| red mage | | | red mage | rdm = {{Red Mage}} | ||
| #default = [[File:Common icon.png|20px|Any class|link=Class]] | | #default = [[File:Common icon.png|20px|Any class|link=Class]] | ||
}}<noinclude> | }}<noinclude> |
Revision as of 11:34, 6 June 2017
Description
This template is used to generate the icon for the given class. It returns Any or the given parameter if no valid class name is given. It is used in {{Action infobox}}. It uses Class icon templates.
Parameters
- Unnamed parameter 1
- Class name or class abbreviation; case insensitive.
Example
{{Class|lancer}}
{{Class|LNC}}