Template:Ability: Difference between revisions
From Inkipedia, the Splatoon wiki
GuyPerfect (talk | contribs) (Testing new Ability template) |
GuyPerfect (talk | contribs) 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|| | ||
[[{{{1}}}|{{{1}}}]] | |||
}}}} | }}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 17: | Line 17: | ||
{| | {| | ||
|- | |- | ||
|<code>name</code>||Unnamed.||The English name of the | |<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 | |<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", | |<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:
|
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