Difference between revisions of "Template:Class"
Jump to navigation
Jump to search
m |
JohnnySolas (talk | contribs) (Undo revision 547830 by JohnnySolas (talk)) Tag: Undo |
||
(12 intermediate revisions by 2 users not shown) | |||
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}} | ||
| carpenter = {{Carpenter}} | |||
| blacksmith = {{Blacksmith}} | |||
| armorer = {{Armorer}} | |||
| goldsmith = {{Goldsmith}} | |||
| leatherworker = {{Leatherworker}} | |||
| weaver = {{Weaver}} | |||
| alchemist = {{Alchemist}} | |||
| culinarian = {{Culinarian}} | |||
| botanist = {{Botanist}} | |||
| fisher = {{Fisher}} | |||
| miner = {{Miner}} | |||
| #default = [[File:Common icon.png|20px|Any class|link=Class]] | | #default = [[File:Common icon.png|20px|Any class|link=Class]] | ||
}}<noinclude> | }}<noinclude> | ||
Line 39: | Line 50: | ||
== Example == | == Example == | ||
<code><nowiki>{{Class|lancer}}</nowiki></code> {{Class|lancer}}<br> | <code><nowiki>{{Class|lancer}}</nowiki></code> {{Class|lancer}}<br> | ||
<code><nowiki>{{Class|LNC}}</nowiki></code> {{Class| | <code><nowiki>{{Class|LNC}}</nowiki></code> {{Class|lnc}} | ||
== Standard Values == | == Standard Values == | ||
Line 56: | Line 67: | ||
|- | |- | ||
| rogue<br>ROG || {{Class|rogue}} | | rogue<br>ROG || {{Class|rogue}} | ||
|- | |- | ||
| thaumaturge<br>THM || {{Class|thaumaturge}} | | thaumaturge<br>THM || {{Class|thaumaturge}} | ||
|- | |- | ||
| arcanist<br>ACN || {{Class|arcanist}} | | arcanist<br>ACN || {{Class|arcanist}} | ||
|- | |||
| conjurer<br>CNJ || {{Class|conjurer}} | |||
|- | |- | ||
| warrior<br>WAR || {{Class|warrior}} | | warrior<br>WAR || {{Class|warrior}} | ||
Line 92: | Line 103: | ||
|- | |- | ||
| red mage<br>RDM || {{Class|red mage}} | | red mage<br>RDM || {{Class|red mage}} | ||
|- | |||
| carpenter || {{Class|Carpenter}} | |||
|- | |||
| blacksmith || {{Class|Blacksmith}} | |||
|- | |||
| armorer || {{Class|Armorer}} | |||
|- | |||
| goldsmith || {{Class|Goldsmith}} | |||
|- | |||
| leatherworker || {{Class|Leatherworker}} | |||
|- | |||
| weaver || {{Class|Weaver}} | |||
|- | |||
| alchemist || {{Class|Alchemist}} | |||
|- | |||
| culinarian || {{Class|Culinarian}} | |||
|- | |||
| botanist || {{Class|Botanist}} | |||
|- | |||
| fisher || {{Class|Fisher}} | |||
|- | |||
| miner || {{Class|Miner}} | |||
|- | |- | ||
| default || {{Class|default}} | | default || {{Class|default}} |
Latest revision as of 15:44, 25 February 2023
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}}