Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
Line 57: | Line 57: | ||
{{{facts|}}}}}{{#if: {{{description|}}}|{{#set:Has game description={{{description}}}}} }} | {{{facts|}}}}}{{#if: {{{description|}}}|{{#set:Has game description={{{description}}}}} }} | ||
{{clear}}<!-- | {{clear}}<!-- | ||
-->{{#if:{{{no-footer-text|}}}||'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is a trait unlocked{{#if:{{{req-quest|}}}| by questing}} at level {{{level|1}}}. It | -->{{#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:@@@}} | ||
| dark knight = [[Dark Knight]] | | dark knight = [[Dark Knight]] | ||
| red mage = [[Red Mage]] | | red mage = [[Red Mage]] |
Revision as of 22:20, 29 November 2022
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.
- 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.
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, Marauder.