Template:Ability: Difference between revisions

From Inkipedia, the Splatoon wiki
(Testing new Ability template)
m (Wording)
Line 8: Line 8:
|link={{#ifeq:{{{1|?}}}|?|Ability|{{{1}}}}}
|link={{#ifeq:{{{1|?}}}|?|Ability|{{{1}}}}}
]]{{#ifeq:{{{1|?}}}|?||{{#ifeq:{{{icononly|false}}}|true||
]]{{#ifeq:{{{1|?}}}|?||{{#ifeq:{{{icononly|false}}}|true||
<span style="display: inline-block; text-align: right; {{#if:{{{width|}}}|width: {{{width}}};}}">&nbsp;[[{{{1}}}|{{{1}}}]]</span>
&nbsp;[[{{{1}}}|{{{1}}}]]
}}}}
}}}}
</includeonly><noinclude>
</includeonly><noinclude>
Line 17: Line 17:
{|
{|
|-
|-
|<code>name</code>||Unnamed.||The English name of the ability. If "?", the no-ability question mark will be used.
|<code>name</code>||Unnamed.||The English name of the Ability. If "?", the no-ability question mark will be used.
|-
|-
|<code>size</code>||Unnamed, optional.||A Mediawiki image size parameter.
|<code>size</code>||Unnamed, optional.||A Mediawiki image size parameter for the icon.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>game</code>||Optional.||The game that the Ability belongs to. The default value is "Splatoon". Must be one of the following:
|<code>game</code>||Optional.||The game that the Brand belongs to. The default value is "Splatoon". Must be one of the following:
*Splatoon
*Splatoon
*Splatoon 2
*Splatoon 2
|-
|-
|<code>icononly</code>||Optional.||If present and "true", only the Ability icon will be output.
|<code>icononly</code>||Optional.||If present and "true", the text label will be omitted.
|}
|}



Revision as of 01:49, 1 August 2017


Displays an inline Ability icon with a text link.

Parameters

name Unnamed. The English name of the Ability. If "?", the no-ability question mark will be used.
size Unnamed, optional. A Mediawiki image size parameter for the icon.
game Optional. The game that the Brand belongs to. The default value is "Splatoon". Must be one of the following:
  • Splatoon
  • Splatoon 2
icononly Optional. If present and "true", the text label will be omitted.

Examples

Markup

{{Ability|?}}<br />
{{Ability|Special Saver}}<br />
{{Ability|Special Saver|48px}}<br />
{{Ability|Special Saver|icononly=true}}<br />
{{Ability|Special Saver|game=Splatoon 2}}

Output

User:GuyPerfect/Ability
User:GuyPerfect/Ability
User:GuyPerfect/Ability
User:GuyPerfect/Ability
User:GuyPerfect/Ability