Difference between revisions of "Template:Trait infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 43: Line 43:
-->{{#if: {{NAMESPACE}}||<!-- Expansion? -->{{#if: {{{release|}}}|[[Category:{{ucfirst:{{{release}}}}} traits]]}}
-->{{#if: {{NAMESPACE}}||<!-- Expansion? -->{{#if: {{{release|}}}|[[Category:{{ucfirst:{{{release}}}}} traits]]}}
}}{{Quotation|In-game description|{{{description|''No description available.''}}} }}{{#if: {{{description|}}}|{{#set:Has game description={{{description}}}}} }}
}}{{Quotation|In-game description|{{{description|''No description available.''}}} }}{{#if: {{{description|}}}|{{#set:Has game description={{{description}}}}} }}
{{clear}}<!--
{{clear}}
-->{{#ifexpr: {{#ask: [[Has related trait::{{PAGENAME}}]]|format=count}} > 0 |
${{#ask: [[Has related trait::{{PAGENAME}}]]|format=count}}{{#ifexpr: {{#ask: [[Has related trait::{{PAGENAME}}]]|format=count}} > 0 |
 
== Related actions ==
== Related actions ==
{{#ask: [[Has related trait::{{{1}}}]]|link=none|format=ul|template=action icon}} }}</includeonly><noinclude>
{{#ask: [[Has related trait::{{{1}}}]]|link=none|format=ul|template=action icon}}
}}</includeonly><noinclude>
== Description ==
== Description ==
<pre>{{Trait infobox
<pre>{{Trait infobox

Revision as of 18:50, 23 June 2017

Description

{{Trait infobox
| name = 
| icon = 
| acquired = 
| description = 
| release = 
}}

Parameters

name
Action name. Defaults to the page name.
icon
Action icon to show. If not explicitly stated, displays File:<name>.png.
acquired
Class/job that learns the trait, with level. Accepts comma-separated list. Eg. GLA/10, botanist/20, SMN/15.
description
Action description.
release
Optional. Expansion this action belongs to. Accepts: heavensward, or stormblood.

Example

{{Trait infobox
| name = Enhanced Vitality
| icon = Enhanced vitality.png
| acquired = GLA/7, MRD/20
| description = Increases Vitality by 2.
| release = 
}}
Enhanced vitality.png

Enhanced Vitality

Acquired
Gladiator frame icon.png GLA (Lv.7)
Marauder frame icon.png MRD (Lv.20)

Increases Vitality by 2.

— In-game description

$0