Template:Ability

From Inkipedia, the Splatoon wiki
Revision as of 00:09, 18 December 2017 by Heddy (talk | contribs) (Upgraded template to use game codes instead of the full game name. Changed parameter order.)

Displays an inline ability icon with a text link.

Parameters

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

game Unnamed, required. The game that the ability belongs to. Must be one of the following:
  • S for Splatoon
  • S2 for Splatoon 2
name Unnamed, required. The English name of the ability. If ?, the no-ability question mark will be used.
size Unnamed, optional. The pixel width for the icon. The default size is 24.
icononly Unnamed, optional. If present, the text label will be omitted.

Examples

Input

{{Ability|S|?}}

{{Ability|S|Ink Saver (Main)}}

{{Ability|S|Ink Saver (Main)|32}}

{{Ability|S|Ink Saver (Main)|32|icononly}}

{{Ability|S2|Ink Saver (Main)|32|icononly}}

Output

Ink Saver (Main)

Ink Saver (Main)