User:Heddy/Test/1: Difference between revisions
From Inkipedia, the Splatoon wiki
< User:Heddy | Test
(Created page.) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}}_Ability_{{#ifeq:{{{2|?}}}|?|Locked|}}.png|{{{3|24}}}px|link={{{2|Ability}}}]]{{#if:{{{4|}}}|{{#ifeq:{{{4}}}|icononly|| [[{{{2}}}]]}}| [[{{{2}}}]]}}</includeonly><noinclude> | <includeonly>[[File:{{{1}}}_Ability_{{#ifeq:{{{2|?}}}|?|Locked|}}.png|{{{3|24}}}px|link={{#ifeq:{{{2|?}}}|?|Ability|{{{2}}}}}]]{{#ifeq:{{{2|?}}}|?||{{#if:{{{4|}}}|{{#ifeq:{{{4}}}|icononly|| [[{{{2}}}]]}}| [[{{{2}}}]]}}}}</includeonly><noinclude>__NOTOC__ | ||
Displays an inline [[ability]] icon with a text link. | Displays an inline [[ability]] icon with a text link. | ||
Revision as of 04:24, 7 December 2017
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:
|
name |
Unnamed, optional. | The English name of the ability. If ? , the no-ability question mark will be used. The default value is ? .
|
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}}