Template:Infobox/Gear: Difference between revisions
From Inkipedia, the Splatoon wiki
Yoshifan52 (talk | contribs) (Added "added in" parameter) |
m (introduced is misleading to when it was first revealed rather then when it got added which is what is stated in the parameter.) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 12: | Line 12: | ||
#if:{{{adjustable|}}}|<div class="infobox-label">Adjustable</div><div>Yes</div>}}{{ | #if:{{{adjustable|}}}|<div class="infobox-label">Adjustable</div><div>Yes</div>}}{{ | ||
#if:{{{availability|}}}|<div class="infobox-label">Availability</div><div>{{Availability|{{{availability}}}|game={{{game|S}}}}}</div>}}{{ | #if:{{{availability|}}}|<div class="infobox-label">Availability</div><div>{{Availability|{{{availability}}}|game={{{game|S}}}}}</div>}}{{ | ||
#if:{{{amiibo|}}}|{{Infobox/Gear/amiibo|amiibo={{{amiibo}}}|game={{{game|}}}}} | #if:{{{amiibo|}}}|{{Infobox/Gear/amiibo|amiibo={{{amiibo}}}|game={{{game|}}}|amiiboext={{{amiiboext|png}}} }} | ||
}} {{ | }} {{ | ||
#if:{{{stars|}}} | #if:{{{stars|}}} | ||
Line 21: | Line 21: | ||
|Splatoon|Splatoon 2 = 3 | |Splatoon|Splatoon 2 = 3 | ||
|Splatoon 3|#default = 5 | |Splatoon 3|#default = 5 | ||
}}}}</div>{{ | }}}}</div>}}{{ | ||
#if:{{{ | #if:{{{introduced|}}}|<div class="infobox-label">Added in</div><div>{{Availability|{{{introduced}}}}}</div>}} | ||
</div> | |||
</div>{{#ifeq:{{{suppress category}}} | </div>{{#ifeq:{{{suppress category}}} | ||
|true | |true | ||
Line 78: | Line 78: | ||
|<code>availability</code>||Optional.||The special means by which the item can be obtained. Must be one of the following: | |<code>availability</code>||Optional.||The special means by which the item can be obtained. Must be one of the following: | ||
*[[File:S2 Icon Octo Canyon.png|20px|link=]] Octo Canyon | *[[File:S2 Icon Octo Canyon.png|20px|link=]] Octo Canyon | ||
*[[File: | *[[File:OE Icon Deepsea Metro.png|20px|link=]] Octo Expansion | ||
*[[File:S Icon Octo Valley.png|20px|link=]] Octo Valley | *[[File:S Icon Octo Valley.png|20px|link=]] Octo Valley | ||
*[[File:S3 Icon Return of the Mammalians.png|20px|link=]] Return of the Mammalians | *[[File:S3 Icon Return of the Mammalians.png|20px|link=]] Return of the Mammalians | ||
Line 92: | Line 92: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>splatnet3</code>||Optional.||The numeric amount of [[Cash]] required to purchase the item from [[SplatNet 3]]. | |<code>splatnet3</code>||Optional.||The numeric amount of [[Cash]] required to purchase the item from [[SplatNet 3]]. | ||
|- style="vertical-align: top;" | |||
|<code>introduced</code>||Optional||The [[version]] in which the piece of gear was added to the game. | |||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>suppress category</code>||Optional.||Categories are prevented from being added by this template. Must be <code>true</code>. | |<code>suppress category</code>||Optional.||Categories are prevented from being added by this template. Must be <code>true</code>. | ||
Line 111: | Line 113: | ||
|stars = 3 | |stars = 3 | ||
|suppress category=true | |suppress category=true | ||
|introduced = {{Ver|S3|1.1.0}} | |||
}} | }} | ||
<pre style="border: none; background: none;"><nowiki>{{Infobox/Gear | <pre style="border: none; background: none;"><nowiki>{{Infobox/Gear | ||
Line 124: | Line 127: | ||
|amiibo2 = Inkling Boy 2 | |amiibo2 = Inkling Boy 2 | ||
|stars = 3 | |stars = 3 | ||
|introduced = {{Ver|S3|1.1.0}} | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
{{clr}}[[Category:Infobox templates]] | {{clr}}[[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:33, 11 March 2024
Displays an infobox for a gear item.
Parameters
game |
The game the gear item belongs to. Must be one of the following:
| |
category |
The item's category. Must be one of the following:
| |
brand |
The English name of the gear brand the item is made by. | |
stars |
Optional | The item's starting star power. |
name |
Optional | The English name of the item. If absent, the page name will be used. |
ability |
Optional. | The item's default primary gear ability. |
amiibo |
Optional. | The amiibo that unlocks the item. Only list the base amiibo if the item can also be unlocked by the amiibo's recolor(s) or its future counterparts. Must be one of the following: |
adjustable |
Optional. | Adds a "yes" listing. For noting which pieces of S3 gear may be adjusted. |
availability |
Optional. | The special means by which the item can be obtained. Must be one of the following:
|
cost |
Optional. | The numeric amount of Cash required to purchase the item from shops. |
currency |
Optional. | The type of currency required to purchase the item from shops per Template:Cost. If undefined, defaults to Cash. |
splatnet2 |
Optional. | The numeric amount of Cash required to purchase the item from SplatNet 2. |
splatnet3 |
Optional. | The numeric amount of Cash required to purchase the item from SplatNet 3. |
introduced |
Optional | The version in which the piece of gear was added to the game. |
suppress category |
Optional. | Categories are prevented from being added by this template. Must be true .
|
Example
FishFry Visor
Category
Brand
Ability
Cost
SplatNet 2
Availability
amiibo
Star power
Added in
{{Infobox/Gear |game = Splatoon 3 |category = Headgear |name = FishFry Visor |brand = Firefin |ability = Special Charge Up |cost = 500 |splatnet2 = 1,234 |availability = Splatfest |amiibo = Inkling Boy |amiibo2 = Inkling Boy 2 |stars = 3 |introduced = {{Ver|S3|1.1.0}} }}