Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
-->{{#if: {{{req-quest|}}}| | -->{{#if: {{{req-quest|}}}| | ||
; Quest Req. | ; Quest Req. | ||
: {{#ifeq:{{lc:{{{req-quest|}}}}}|varies|''[[Has quest requirement::{{{name|{{PAGENAME}}}}} unlock quests|Varies]]''| | : {{#ifeq:{{lc:{{{req-quest|}}}}}|varies|''[[Has quest requirement::{{{name|{{PAGENAME}}}}} unlock quests|Varies]]''|{{quest icon|{{{req-quest}}}}}{{#set:Has quest requirement={{{req-quest}}}}}}} | ||
}}</div> | }}</div> | ||
{{clear}} | {{clear}} |
Revision as of 06:42, 2 December 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.