Difference between revisions of "Template:Class"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
(Undo revision 547830 by JohnnySolas (talk))
Tag: Undo
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ #switch:{{lc:{{{1}}}}}
{{ #switch:{{lc:{{{1}}}}}
| marauder     | m = {{marauder}}
| marauder | mrd = {{Marauder}}
| gladiator   | g = {{gladiator}}
| gladiator | gla = {{Gladiator}}
| pugilist     | p = {{pugilist}}
| pugilist | pgl = {{Pugilist}}
| lancer       | l = {{lancer}}
| lancer | lnc = {{Lancer}}
| archer       | a = {{archer}}
| archer | arc = {{Archer}}
| rogue       | r = {{rogue}}
| rogue | rog = {{Rogue}}
| conjurer     | c = {{conjurer}}
| conjurer | cnj = {{Conjurer}}
| thaumaturge | t = {{thaumaturge}}
| thaumaturge | thm = {{Thaumaturge}}
| arcanist     | ar = {{arcanist}}
| arcanist | acn = {{Arcanist}}
| 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]]
| #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 profession.  
This template is used to generate the icon for the given class.  
It returns ''Any'' or the given parameter if no valid profession name is given.  
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]].
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|l}}</nowiki></code> {{Class|l}}  
<code><nowiki>{{Class|LNC}}</nowiki></code> {{Class|lnc}}


== Standard Values ==
== Standard Values ==
Line 30: Line 56:
! Parameter !! Icon
! Parameter !! Icon
|-
|-
| marauder<br>m || {{Class|marauder}}
| marauder<br>MRD || {{Class|marauder}}
|-
|-
| gladiator<br>g || {{Class|gladiator}}
| gladiator<br>GLA || {{Class|gladiator}}
|-
|-
| pugilist<br>p || {{Class|pugilist}}
| pugilist<br>PGL || {{Class|pugilist}}
|-
|-
| lancer<br>l || {{Class|lancer}}
| lancer<br>LNC || {{Class|lancer}}
|-
|-
| archer<br>a || {{Class|archer}}
| archer<br>ARC || {{Class|archer}}
|-
|-
| rogue<br>r || {{Class|rogue}}
| rogue<br>ROG || {{Class|rogue}}
|-
|-
| conjurer<br>c || {{Class|conjurer}}
| thaumaturge<br>THM || {{Class|thaumaturge}}
|-
|-
| thaumaturge<br>t || {{Class|thaumaturge}}
| arcanist<br>ACN || {{Class|arcanist}}
|-
|-
| arcanist<br>ar || {{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

Any class

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}} Lancer frame icon.png
{{Class|LNC}} Lancer frame icon.png

Standard Values

Parameter Icon
marauder
MRD
Marauder frame icon.png
gladiator
GLA
Gladiator frame icon.png
pugilist
PGL
Pugilist frame icon.png
lancer
LNC
Lancer frame icon.png
archer
ARC
Archer frame icon.png
rogue
ROG
Rogue frame icon.png
thaumaturge
THM
Thaumaturge frame icon.png
arcanist
ACN
Arcanist frame icon.png
conjurer
CNJ
Conjurer frame icon.png
warrior
WAR
Warrior frame icon.png
paladin
PLD
Paladin frame icon.png
monk
MNK
Monk frame icon.png
dragoon
DRG
Dragoon frame icon.png
bard
BRD
Bard frame icon.png
white mage
WHM
White Mage frame icon.png
black mage
BLM
Black Mage frame icon.png
summoner
SMN
Summoner frame icon.png
scholar
SCH
Scholar frame icon.png
ninja
NIN
Ninja frame icon.png
dark knight
DRK
Dark Knight frame icon.png
astrologian
AST
Astrologian frame icon.png
machinist
MCH
Machinist frame icon.png
samurai
SAM
Samurai frame icon.png
red mage
RDM
Red Mage frame icon.png
carpenter Carpenter frame icon.png
blacksmith Blacksmith frame icon.png
armorer Armorer frame icon.png
goldsmith Goldsmith frame icon.png
leatherworker Leatherworker frame icon.png
weaver Weaver frame icon.png
alchemist Alchemist frame icon.png
culinarian Culinarian frame icon.png
botanist Botanist frame icon.png
fisher Fisher frame icon.png
miner Miner frame icon.png
default Any class