Template:Gear: Difference between revisions
From Inkipedia, the Splatoon wiki
(Moved documentation to subpage.) |
m (Protected "Template:Gear": Widely transcluded ([Edit=Allow only autoconfirmed users] (indefinite))) |
(No difference)
|
Revision as of 22:28, 13 May 2019
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}}
Output
- [[File:{{{1}}}_Gear_{{{2}}}_{{{3}}}.png|24px|link={{{3}}}]] [[{{{3}}}]]
Basic Tee
Basic Tee
Basic Tee
Cream Basics