Template:Gear: Difference between revisions
From Inkipedia, the Splatoon wiki
(Created page with "[[File:Geart Shoes {{{1}}}.png|25px|link={{{1}}}]] [[{{{1}}}]]") |
(making into module invocation (stand back, I'm trying science)) |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Gear|main}}</includeonly><noinclude> | |||
Template invocation of [[Module:Gear]]. | |||
{{:Module:Gear/doc}} | |||
</noinclude> |
Latest revision as of 15:59, 4 September 2023
Template invocation of Module:Gear.
Displays an inline gear item icon with a text link.
Usage
{{Gear|<game>|<category>|<name>|<size>|<icononly>}}
Parameters
Parameter | Type | Status | Description |
---|---|---|---|
game | Named or unnamed (first positional) | Optional, defaults to S | The game that the item belongs to. Must be one of the following:
|
category | Named or unnamed (second positional) | Optional, defaults to Headgear | The type of gear. Must be one of the following:
|
name | Named or unnamed (third positional) | Optional, defaults to White Headband | The English name of the item. |
size | Named or unnamed (fourth positional) | Optional | The pixel width for the icon. The default size is 24px. |
icononly | Named or unnamed (fourth or fifth positional) | Optional | If present, the text label will be omitted. |
mio | Named only | Optional | For manually overriding the icon with a different filename. This parameter is particularly helpful when an icon is missing and needs a temporary placeholder. 'mio' stands for manual icon override. |
Examples
Markup
* {{Gear}} * {{Gear|S|Clothing|Basic Tee}} * {{Gear|S2|Clothing|Basic Tee|64}} * {{Gear|S3|Clothing|Basic Tee|200px}} * {{Gear|S|Clothing|Basic Tee|64|icononly}} * {{Gear|S|Clothing|Basic Tee|icononly}} * {{Gear|S2|Clothing|Basic Tee|64|icononly}} * {{Gear|S|Shoes|Cream Basics|256|mio=S2 Gear Shoes Cream Basics.png}}