Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
Line 62: | Line 62: | ||
{{clear}}<!-- | {{clear}}<!-- | ||
-->{{#if:{{{no-footer-text|}}}||'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is a trait unlocked{{#if:{{{req-quest|}}}| by questing}} at level {{{level|1}}}. It is available for {{#arraymap:{{{acquired}}}|,|@@@|{{#switch:{{lc:@@@}} | -->{{#if:{{{no-footer-text|}}}||'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is a trait unlocked{{#if:{{{req-quest|}}}| by questing}} at level {{{level|1}}}. It is available for {{#arraymap:{{{acquired}}}|,|@@@|{{#switch:{{lc:@@@}} | ||
| gladiator = [[Gladiator]] / [[Paladin]] | |||
| marauder = [[Marauder]] / [[Warrior]] | |||
| lancer = [[Lancer]] / [[Dragoon]] | |||
| pugilist = [[Pugilist]] / [[Monk]] | |||
| rogue = [[Rogue]] / [[Ninja]] | |||
| archer = [[Archer]] / [[Bard]] | |||
| thaumaturge = [[Thaumaturge]] / [[Black Mage]] | |||
| arcanist = [[Arcanist]] / [[Summoner]] | |||
| conjurer = [[Conjurer]] / [[White Mage]] | |||
| dark knight = [[Dark Knight]] | | dark knight = [[Dark Knight]] | ||
| red mage = [[Red Mage]] | | red mage = [[Red Mage]] | ||
| black mage = [[Black Mage]] | | black mage = [[Black Mage]] | ||
| free company = [[Free Company]] | |||
| white mage = [[White Mage]] | | white mage = [[White Mage]] | ||
| blue mage = [[Blue Mage]] | | blue mage = [[Blue Mage]] | ||
| any = any class | | gunbreaker = [[Gunbreaker]] | ||
| dancer = [[Dancer]] | |||
| reaper = [[Reaper]] | |||
| sage = [[Sage]] | |||
| melee dps = [[Melee DPS]] | |||
| magic ranged dps | magical ranged dps = [[Magical Ranged DPS]] | |||
| physical ranged dps | ranged physical dps = [[Physical Ranged DPS]] | |||
| any = any class or job | |||
| #default = [[{{ucfirst:@@@}}]]}}|, }}.}} | | #default = [[{{ucfirst:@@@}}]]}}|, }}.}} | ||
{{#ifexpr: {{#ask: [[Has related trait::{{#if:{{{name-related|}}}|{{{name-related|}}}|{{PAGENAME}}}}]]|format=count}} > 0 | | {{#ifexpr: {{#ask: [[Has related trait::{{#if:{{{name-related|}}}|{{{name-related|}}}|{{PAGENAME}}}}]]|format=count}} > 0 | |
Revision as of 23:26, 19 February 2024
Description
{{Trait infobox | name = | icon = | acquired = | level = | description = | req-quest = | pvp = | release = | patch = }}
Parameters
- name
- Action name. Defaults to the page name.
- name-related
- Page name only if it contains an apostrophe. Needed for "related actions" to show.
- icon
- Action icon to show. If not explicitly stated, displays File:<name>.png.
- facts
- Trait facts. See {{action fact}} for examples (despite the name, action fact is shared between active actions and traits).
- 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, blue mage, gunbreaker, dancer, 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. Accepts varies when quest requirement varies between classes/jobs (note: it will link to
<PAGENAME> unlock quests
). - 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 or shadowbringers or endwalker or dawntrail.
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
Enhanced Vitality is a trait unlocked at level 10. It is available for Gladiator / Paladin, Marauder / Warrior.