Template:Ability: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Tweaking defaults)
m (Removing box wrapper)
Line 1: Line 1:
<includeonly>{{User:GuyPerfect/BoxLabel|
<includeonly>[[File:{{#switch:{{#if:{{{game|}}}|{{{game}}}|Splatoon}}
[[File:{{#switch:{{#if:{{{game|}}}|{{{game}}}|Splatoon}}
|Splatoon  = S
|Splatoon  = S
|Splatoon 2 = S2
|Splatoon 2 = S2
Line 6: Line 5:
}}_Ability_{{#ifeq:{{{1|?}}}|?|Locked|{{{1}}}}}.png|{{{2|24px}}}|{{#ifeq:{{{1|?}}}|?|Ability|{{{1}}}}}|link={{#ifeq:{{1|?}}}|?|Ability|{{{1}}}}}]]{{#ifeq:{{{1|?}}}|?||{{#ifeq:{{{icononly|}}}|true||
}}_Ability_{{#ifeq:{{{1|?}}}|?|Locked|{{{1}}}}}.png|{{{2|24px}}}|{{#ifeq:{{{1|?}}}|?|Ability|{{{1}}}}}|link={{#ifeq:{{1|?}}}|?|Ability|{{{1}}}}}]]{{#ifeq:{{{1|?}}}|?||{{#ifeq:{{{icononly|}}}|true||
&nbsp;[[{{{1}}}|{{{1}}}]]
&nbsp;[[{{{1}}}|{{{1}}}]]
}}}}
}}}}</includeonly><noinclude>
}}</includeonly><noinclude>
__NOTOC__
__NOTOC__
Displays an inline [[Ability]] icon with a text link.
Displays an inline [[Ability]] icon with a text link.

Revision as of 05:18, 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