Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context=Trait}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content|cat=Heavensward traits}}|stormblood = {{Stormblood expansion content|cat=Stormblood traits}}}}{{ | <includeonly>{{#set:Has context=Trait}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content|cat=Heavensward traits}}|stormblood = {{Stormblood expansion content|cat=Stormblood traits}}}}{{#switch:{{lc:{{{pvp|}}}}} | ||
| y = {{otheruses|the [[PvP]] trait|the [[PvE]] trait|{{{name|{{PAGENAME}}}}}}} | |||
| c = {{otheruses|the [[PvE]] trait|the [[PvP]] trait|{{{name|{{PAGENAME}}}}} (PvP)}} | |||
}} | |||
<div class="infobox-n trait"> | <div class="infobox-n trait"> | ||
<div class="icon trait-infobox-icon">{{STFI|icon={{{icon|{{#titleparts:{{PAGENAMEE}}}}.png}}}|link=File:{{{icon|{{PAGENAMEE}}.png}}}}}{{#set:Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}}}</div> | <div class="icon trait-infobox-icon">{{STFI|icon={{{icon|{{#titleparts:{{PAGENAMEE}}}}.png}}}|link=File:{{{icon|{{PAGENAMEE}}.png}}}}}{{#set:Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}}}</div> | ||
Line 89: | Line 92: | ||
: Optional. Quest required. | : Optional. Quest required. | ||
; pvp | ; pvp | ||
: Optional. Set | : Optional. Applies only to combat classes/jobs. Set ''y'' to specify this trait belongs to PvP, or ''c'' to specify this PvE trait has a PvP counterpart. Defaults to none (no notice). | ||
; release | ; release | ||
: Optional. Expansion this action belongs to. Accepts: ''heavensward'', or ''stormblood''. | : Optional. Expansion this action belongs to. Accepts: ''heavensward'', or ''stormblood''. |
Revision as of 16:50, 26 October 2017
Description
{{Trait infobox | name = | icon = | acquired = | level = | description = | req-quest = | pvp = | release = }}
Parameters
- name
- Action name. Defaults to the page name.
- icon
- Action icon to show. If not explicitly stated, displays File:<name>.png.
- acquired
- Class/job required to use this trait. Accepts comma-separated: marauder, gladiator, warrior, paladin, dark knight, conjurer, white mage, scholar, astrologian, pugilist, lancer, archer, rogue, thaumaturge, arcanist, monk, dragoon, bard, black mage, summoner, ninja, machinist, samurai, red mage, carpenter, blacksmith, armorer, goldsmith, leatherworker, weaver, alchemist, culinarian, botanist, fisher, or miner.
- level
- Level required to learn a trait. Defaults to 1.
- description
- Action description.
- req-quest
- Optional. Quest required.
- pvp
- Optional. Applies only to combat classes/jobs. Set y to specify this trait belongs to PvP, or c to specify this PvE trait has a PvP counterpart. Defaults to none (no notice).
- release
- Optional. Expansion this action belongs to. Accepts: heavensward, or stormblood.
Example
{{Trait infobox | name = Enhanced Vitality | icon = Enhanced vitality.png | acquired = gladiator, marauder | level = 10 | description = Increases Vitality by 2. | req-quest = | release = }}
“Increases Vitality by 2.
— In-game description