Template:Ability: Difference between revisions

From Inkipedia, the Splatoon wiki
m (removed test line)
m (Grammar)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>[[File:{{{1}}}_Ability_{{#ifeq:{{{2}}}|?|Locked|{{{2}}}}}.png|{{#iferror:{{#expr:{{{3|24}}}}}|24}}px|link={{#ifeq:{{{2}}}|?|Ability|{{{2}}}]]{{#ifeq:{{{2}}}|?||{{#ifeq:{{{3|}}}|icononly||{{#ifeq:{{{4|}}}|icononly||&#32;{{#ifeq:{{{2}}}|Recon|[[Recon (ability)|Recon]]|[[{{{2}}}]]}}}}}}}}</includeonly><noinclude>{{Ability/doc}}</noinclude>
<includeonly>{{#invoke:Ability|main}}</includeonly><noinclude>
Template invocation of [[Module:Ability]].
{{:Module:Ability/doc}}
 
[[Category:Inline templates]]
</noinclude>

Latest revision as of 12:31, 26 June 2024

Template invocation of Module:Ability.

Displays an inline gear ability icon with a text link.

Usage

{{Ability|<game>|<name>|<size>|<icononly>}}

Parameters

Parameter Type Status Description
game Unnamed Required The game that the ability belongs to. Must be one of the following:
  • S for Splatoon
  • S2 for Splatoon 2
  • S3 for Splatoon 3
name Unnamed Required The English name of the ability.
  • ? can be used to get the no-ability question mark.
size Unnamed Optional The pixel width for the icon. The default size is 24. Required if icononly is specified.
icononly Unnamed Optional. If present, the text label will be omitted.

Examples

Markup

* {{Ability|S|?}}
* {{Ability|S|Ink Saver (Main)}}
* {{Ability|S|Ink Saver (Main)|32}}
* {{Ability|S2|Ink Saver (Main)|32|icononly}}
* {{Ability|S3|Ink Saver (Main)|32|icononly}}

Output