Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly><div class="infobox-n trait"> | <includeonly><div class="infobox-n trait {{#switch: {{#explode:{{{requires|}}}|,|0}} | ||
| MRD | GLA | WAR | PLD | DRK = tanker-role | |||
| PGL | LNC | ARC | ROG | THM | ACN | MNK | DRG | BRD | BLM | SMN | NIN | MCH | SAM | RDM = dps-role | |||
| CNJ | WHM | SCH | AST = healer-role}}"> | |||
<div class="icon trait-infobox-icon"> | <div class="icon trait-infobox-icon"> | ||
<div style="overflow: hidden; width: 38px; height: 38px; display:inline-block; vertical-align:middle; background-color: #444"> | <div style="overflow: hidden; width: 38px; height: 38px; display:inline-block; vertical-align:middle; background-color: #444"> |
Revision as of 18:03, 6 June 2017
Description
{{Action infobox | name = | icon = | class = | level = | description = | actions = }}
Parameters
- name
- Action name. Defaults to the page name.
- icon
- Action icon to show. If not explicitly stated, displays File:<name>.png.
- class
- Class this trait is learned by. Accepts comma-separated: MRD, GLA, PGL, LNC, ARC, ROG, CNJ, THM, or ACN.
- level
- Optional. Level required.
- description
- Action description.
- actions
- Optional. Comma-separated list of actions that this trait affects.
Example
{{Trait infobox | name = Enhanced Vitality | icon = Enhanced vitality.png | class = GLA | level = 8 | description = Increases Vitality by 2. | actions = }}
“Increases Vitality by 2.
— In-game description