Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
Line 84: | Line 84: | ||
| physical ranged dps | ranged physical dps = [[Physical Ranged DPS]] | | physical ranged dps | ranged physical dps = [[Physical Ranged DPS]] | ||
| any = any class or job | | any = any class or job | ||
| #default = [[{{ucfirst:@@@}}]]}}|, }}.}} | | #default = [[{{ucfirst:@@@}}]]}}|, |and}}.}} | ||
{{#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 | | ||
== Related actions == | == Related actions == |
Revision as of 05:23, 16 March 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 and Marauder / Warrior.