Difference between revisions of "Template:Class"
Jump to navigation
Jump to search
m |
JohnnySolas (talk | contribs) (Undo revision 547830 by JohnnySolas (talk)) Tag: Undo |
||
(19 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}} | ||
| #default = [[File: | | warrior | war = {{Warrior}} | ||
| paladin | pld = {{Paladin}} | |||
| monk | mnk = {{Monk}} | |||
| dragoon | drg = {{Dragoon}} | |||
| bard | brd = {{Bard}} | |||
| white mage | whm = {{White Mage}} | |||
| black mage | blm = {{Black Mage}} | |||
| summoner | smn = {{Summoner}} | |||
| scholar | sch = {{Scholar}} | |||
| ninja | nin = {{Ninja}} | |||
| dark knight | drk = {{Dark Knight}} | |||
| astrologian | ast = {{Astrologian}} | |||
| machinist | mch = {{Machinist}} | |||
| samurai | sam = {{Samurai}} | |||
| 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]] | |||
}}<noinclude> | }}<noinclude> | ||
== Description == | == Description == | ||
This template is used to generate the icon for the given | This template is used to generate the icon for the given class. | ||
It returns ''Any'' or the given parameter if no valid | It returns ''Any'' or the given parameter if no valid class name is given. | ||
It is used in {{tl|Action infobox}}. | It is used in {{tl|Action infobox}}. | ||
It uses [[:category:Class icon templates|Class icon templates]] | It uses [[:category:Class icon templates|Class icon templates]]. | ||
=== Parameters === | === Parameters === | ||
Line 24: | 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| | <code><nowiki>{{Class|LNC}}</nowiki></code> {{Class|lnc}} | ||
== Standard Values == | == Standard Values == | ||
Line 30: | Line 56: | ||
! Parameter !! Icon | ! Parameter !! Icon | ||
|- | |- | ||
| marauder<br> | | marauder<br>MRD || {{Class|marauder}} | ||
|- | |- | ||
| gladiator<br> | | gladiator<br>GLA || {{Class|gladiator}} | ||
|- | |- | ||
| pugilist<br> | | pugilist<br>PGL || {{Class|pugilist}} | ||
|- | |- | ||
| lancer<br> | | lancer<br>LNC || {{Class|lancer}} | ||
|- | |- | ||
| archer<br> | | archer<br>ARC || {{Class|archer}} | ||
|- | |- | ||
| rogue<br> | | rogue<br>ROG || {{Class|rogue}} | ||
|- | |- | ||
| | | thaumaturge<br>THM || {{Class|thaumaturge}} | ||
|- | |- | ||
| | | arcanist<br>ACN || {{Class|arcanist}} | ||
|- | |- | ||
| | | conjurer<br>CNJ || {{Class|conjurer}} | ||
|- | |||
| warrior<br>WAR || {{Class|warrior}} | |||
|- | |||
| paladin<br>PLD || {{Class|paladin}} | |||
|- | |||
| monk<br>MNK || {{Class|monk}} | |||
|- | |||
| dragoon<br>DRG || {{Class|dragoon}} | |||
|- | |||
| bard<br>BRD || {{Class|bard}} | |||
|- | |||
| white mage<br>WHM || {{Class|white mage}} | |||
|- | |||
| black mage<br>BLM || {{Class|black mage}} | |||
|- | |||
| summoner<br>SMN || {{Class|summoner}} | |||
|- | |||
| scholar<br>SCH || {{Class|scholar}} | |||
|- | |||
| ninja<br>NIN || {{Class|ninja}} | |||
|- | |||
| dark knight<br>DRK || {{Class|dark knight}} | |||
|- | |||
| astrologian<br>AST || {{Class|astrologian}} | |||
|- | |||
| machinist<br>MCH || {{Class|machinist}} | |||
|- | |||
| samurai<br>SAM || {{Class|samurai}} | |||
|- | |||
| 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}}