Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}}}<div class="infobox-n trait | <includeonly>{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}}}<div class="infobox-n trait"> | ||
<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"> | ||
Line 9: | Line 6: | ||
</div> | </div> | ||
<p class="heading">{{{name|{{#titleparts:{{PAGENAME}}}}}}}</p> | <p class="heading">{{{name|{{#titleparts:{{PAGENAME}}}}}}}</p> | ||
<div class="wrapper"> | <div class="wrapper"> | ||
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
; [[Class]] | ; [[Class]] | ||
Line 25: | Line 22: | ||
</div> | </div> | ||
{{clear}} | {{clear}} | ||
</div> | </div>!-- | ||
AUTOCATEGORIZATION | |||
--> | |||
<!-- Class traits --> | |||
{{#if: {{{class|}}}| | |||
{{#switch: {{uc:{{{class}}}}} | |||
| MRD = [[Category:Marauder traits]] | |||
| GLA = [[Category:Gladiator traits]] | |||
| PGL = [[Category:Pugilist traits]] | |||
| LNC = [[Category:Lancer traits]] | |||
| ARC = [[Category:Archer traits]] | |||
| ROG = [[Category:Rogue traits]] | |||
| CNJ = [[Category:Conjurer traits]] | |||
| THM = [[Category:Thaumaturge traits]] | |||
| ACN = [[Category:Arcanist traits]] | |||
| #default = [[Category:{{ucfirst:{{{class}}}}} traits]] | |||
}} | |||
}} | }} | ||
{{Quotation|In-game description|{{{description|''No description available.''}}} }} | {{Quotation|In-game description|{{{description|''No description available.''}}} }} | ||
Line 45: | Line 58: | ||
: Action icon to show. If not explicitly stated, displays <tt>File:<nowiki><name></nowiki>.png</tt>. | : Action icon to show. If not explicitly stated, displays <tt>File:<nowiki><name></nowiki>.png</tt>. | ||
; class | ; class | ||
: Class this trait is learned by. Accepts comma-separated: MRD, GLA, PGL, LNC, ARC, ROG, CNJ, THM, or | : Class this trait is learned by. Accepts comma-separated: MRD, GLA, PGL, LNC, ARC, ROG, CNJ, THM, ACN, MINER, BOTANIST, or FISHER. | ||
; level | ; level | ||
: Optional. Level required. | : Optional. Level required. |
Revision as of 20:20, 6 June 2017
Description
{{Trait 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, ACN, MINER, BOTANIST, or FISHER.
- level
- Optional. Level required.
- description
- Action description.
- actions
- Optional. Comma-separated list of actions that this trait affects.
- release
- Optional. Expansion this action belongs to. Accepts: heavensward, or stormblood.
Example
{{Trait infobox | name = Enhanced Vitality | icon = Enhanced vitality.png | class = GLA | level = 8 | description = Increases Vitality by 2. | actions = | release = }}
!--
AUTOCATEGORIZATION -->
“Increases Vitality by 2.
— In-game description