Difference between revisions of "Template:Trait infobox"
Jump to navigation
Jump to search
m |
m |
||
Line 41: | Line 41: | ||
</div><!-- | </div><!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
-->{{#if: {{NAMESPACE}}||<!-- Expansion? -->{{#if: {{{release|}}}|[[Category:{{ucfirst:{{{release}}}}} traits]]}} | -->{{#if: {{NAMESPACE}}|| | ||
<!-- Expansion? --> | |||
{{#if: {{{release|}}}|[[Category:{{ucfirst:{{{release}}}}} traits]]}} | |||
<!-- PvP? --> | |||
{{#if: {{{pvp|}}}|[[Category:PvP traits]]{{#set:Is for pvp=true}}|[[Category:PvE traits]]{{#set:Is for pvp=false}}}} | |||
}}{{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}} | ||
Line 54: | Line 58: | ||
| acquired = | | acquired = | ||
| description = | | description = | ||
| pvp = | |||
| release = | | release = | ||
}}</pre> | }}</pre> | ||
Line 66: | Line 71: | ||
; description | ; description | ||
: Action description. | : Action description. | ||
; pvp | |||
: Optional. Set anything if this action is only usable in PvP. Defaults to ''No''. | |||
; release | ; release | ||
: Optional. Expansion this action belongs to. Accepts: ''heavensward'', or ''stormblood''. | : Optional. Expansion this action belongs to. Accepts: ''heavensward'', or ''stormblood''. |
Revision as of 12:06, 26 June 2017
Description
{{Trait infobox | name = | icon = | acquired = | description = | pvp = | 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.
- pvp
- Optional. Set anything if this action is only usable in PvP. Defaults to No.
- 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