Template:Ability: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Small fix to the template, so that it more simply handles non-number values for parameter 3) |
(making into module invocation) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#invoke:Ability|main}}</includeonly><noinclude> | ||
Template invocation of [[Module:Ability]]. | |||
{{:Module:Ability/doc}} | |||
</noinclude> | </noinclude> |
Latest revision as of 20:51, 7 September 2023
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:
|
name | Unnamed | Required | The English name of the ability.
|
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}}