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 | MRD = {{ | | marauder | MRD = {{Marauder}} | ||
| gladiator | GLA = {{ | | gladiator | GLA = {{Gladiator}} | ||
| pugilist | PGL = {{ | | pugilist | PGL = {{Pugilist}} | ||
| lancer | LNC = {{ | | lancer | LNC = {{Lancer}} | ||
| archer | ARC = {{ | | archer | ARC = {{Archer}} | ||
| rogue | ROG = {{ | | rogue | ROG = {{Rogue}} | ||
| conjurer | CNJ = {{ | | conjurer | CNJ = {{Conjurer}} | ||
| thaumaturge | THM = {{ | | thaumaturge | THM = {{Thaumaturge}} | ||
| arcanist | ACN = {{ | | arcanist | ACN = {{Arcanist}} | ||
| warrior | WAR = {{ | | warrior | WAR = {{Warrior}} | ||
| paladin | PLD = {{ | | paladin | PLD = {{Paladin}} | ||
| monk | MNK = {{ | | monk | MNK = {{Monk}} | ||
| dragoon | DRG = {{ | | dragoon | DRG = {{Dragoon}} | ||
| bard | BRD = {{ | | bard | BRD = {{Bard}} | ||
| white mage | WHM = {{ | | white mage | WHM = {{White Mage}} | ||
| black mage | BLM = {{ | | black mage | BLM = {{Black Mage}} | ||
| summoner | SMN = {{ | | summoner | SMN = {{Summoner}} | ||
| scholar | SCH = {{ | | scholar | SCH = {{Scholar}} | ||
| ninja | NIN = {{ | | ninja | NIN = {{Ninja}} | ||
| dark knight | DRK = {{ | | dark knight | DRK = {{Dark Knight}} | ||
| astrologian | AST = {{ | | astrologian | AST = {{Astrologian}} | ||
| machinist | MCH = {{ | | machinist | MCH = {{Machinist}} | ||
| samurai | SAM = {{ | | samurai | SAM = {{Samurai}} | ||
| red mage | RDM = {{ | | 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 17:27, 5 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}}