Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
m |
m |
||
Line 40: | Line 40: | ||
{{clear}} | {{clear}} | ||
</div><!-- | </div><!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
-->{{#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}}</includeonly><noinclude> | {{clear}}<!-- | ||
-->{{#ifexpr: {{#ask: [[Has related trait::{{PAGENAME}}]]|format=count}} > 0 | | |||
== Related actions == | |||
{{#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:49, 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 = }}
“Increases Vitality by 2.
— In-game description