Template:GearList/Item: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Template EA -> AUEU)
m (Rename "addedin" ➡ "introduced")
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>|-
<includeonly>{{GearList/ItemEx
| style="text-align: center; text-align: left; vertical-align: top; position: relative; width: 72px; height: 60px;" | {{#ifeq: "{{{tinted|}}}" | "true" | <span style="position: absolute; left: -1px; top: -5px;">[[File:Boy-splatter-right.png|80px|link=|Color changes during gameplay]]</span> | }}<span style="position: absolute; left: 6px; top: 0px;">[[File:Gear_{{{type}}}_{{{name}}}.png|60px|link={{{name}}}|{{{name}}}]]</span>
|game        = {{{game|}}}
| [[{{{name}}}]] {{#ifeq: "{{{nameea|}}}" | "" | | {{NA}}<br />{{{nameea}}} {{AUEU}} }}
|category    = {{{category|}}}
| {{Brand|{{{brand}}}|size=30px}}
|name        = {{{name|}}}
| {{#switch: "{{{unlock}}}"
|euoc        = {{{euoc|}}}
| "cash"      = {{Cost|{{{cost}}}|size=30px}}
|brand        = {{{brand|}}}
| "amiibo"    = [[File:Brand_amiibo.png|30px|link=amiibo]] [[amiibo|{{{amiibo}}}]]
|amiibo      = {{{amiibo|}}}
| "octovalley"  = [[File:Octarian_Icon.png|30px|link=Octo Valley|Octo Valley]] [[Octo Valley]]
|cost        = {{{cost|}}}
| "splatfest" = [[File:Splatfest_Logo.png|30px|link=Splatfest|Splatfest]] [[Splatfest]]
|cost_type    = {{{cost_type|}}}
| #default    = style="text-align: center;" {{!}} ---
|availability = {{{availability|}}}
|ability      = {{{ability|}}}
|stars        = {{{stars|}}}
|introduced  = {{{introduced|}}}
|custom_file  = {{{custom_file|}}}
|filter      = {{Logical|OR
|{{#if:{{{filter_brand|}}}|{{#ifeq:{{{filter_brand}}}|{{{brand}}}|false|true}}|false}}
|{{#if:{{{filter_ability|}}}|{{#ifeq:{{{filter_ability}}}|{{{ability}}}|false|true}}|false}}
}}
}}
| {{Ability|{{{ability}}}|size=30px}}
}}</includeonly><noinclude>{{GearList/ItemDoc}}</noinclude>
| style="text-align: center; width: 50px;" | {{stars|{{{rarity}}}|15px}}</includeonly><noinclude>
== Parameters ==
All parameters are required unless otherwise noted.
* ''name'' - The item's name. If ''nameea'' is specified, this field represents the North American name.
* ''nameea'' - Optional. The European/Australian name if different from the North American.
* ''type'' - The item's type. Must be one of "Headgear", "Clothing" or "Shoes".
* ''brand'' - The name of the item's brand.
* ''unlock'' - The method of unlocking the item. Must be "none", "cash", "amiibo", "octovalley" or "splatfest".
:* ''cost'' - Only required if ''unlock'' = "cash". The number of coins required for purchase.
:* ''amiibo'' - Only required if ''unlock'' = "amiibo". The name of the amiibo that unlocks the item.
* ''ability'' - The name of the item's main Ability.
* ''rarity'' - The number of stars the item has. Must be 1, 2 or 3.
* ''tinted'' - Optional. If present, must be either "true" or "false". Set to true if the item's color changes during gameplay.
 
== Example Usage ==
 
Markup:
<nowiki>{{GearListItem
|type    = Clothing
|name    = Baseball Jersey
|brand  = Firefin
|unlock  = cash
|cost    = 10000
|ability = Special Charge Up
|rarity  = 3
}}</nowiki>
 
Output:
{|
{{User:GuyPerfect/GearListItem
|type    = Clothing
|name    = Baseball Jersey
|brand  = Firefin
|unlock  = cash
|cost    = 10000
|ability = Special Charge Up
|rarity  = 3
}}
|}
 
</noinclude>

Revision as of 05:09, 6 November 2023