Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
m (Changed protection level for "Template:Trait infobox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
m |
||
Line 50: | Line 50: | ||
}}{{Quotation|In-game description|{{Colorize|{{{description|''No description available.''}}}}} | }}{{Quotation|In-game description|{{Colorize|{{{description|''No description available.''}}}}} | ||
{{{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's available for {{#arraymap:{{{acquired}}}|,|@@@|{{#switch:{{lc:@@@}} | |||
| dark knight = [[Dark Knight]] | |||
| red mage = [[Red Mage]] | |||
| black mage = [[Black Mage]] | |||
| white mage = [[White Mage]] | |||
| any = any class | |||
| #default = [[{{ucfirst:@@@}}]]}}|,}}.}} | |||
{{#ifexpr: {{#ask: [[Has related trait::{{PAGENAME}}]]|format=count}} > 0 | | {{#ifexpr: {{#ask: [[Has related trait::{{PAGENAME}}]]|format=count}} > 0 | | ||
== Related actions == | == Related actions == |
Revision as of 13:55, 31 August 2018
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, 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.
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's available for Gladiator,Marauder.