Template:GearList/Item: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>|-
|-
| 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>
|[[File:{{#switch:{{{game|Splatoon}}}
| [[{{{name}}}]] {{#ifeq: "{{{nameea|}}}" | "" | | {{NA}}<br />{{{nameea}}} {{AUEU}} }}
|Splatoon  = S
| {{Brand|{{{brand}}}|size=30px}}
|Splatoon 2 = S2
| {{#switch: "{{{unlock}}}"
|#default  = S
| "cash"      = {{Cost|{{{cost}}}|30px}}
}}_Gear_{{{category}}}_{{{name}}}.png|60px|{{{name}}}|link={{{name}}}]]
| "amiibo"    = [[File:Brand_amiibo.png|30px|link=amiibo]] [[amiibo|{{{amiibo}}}]]
|[[{{{name}}}]]
| "octovalley"  = [[File:Octarian_Icon.png|30px|link=Octo Valley|Octo Valley]] [[Octo Valley]]
|{{Brand|{{{brand}}}|30px|game={{{game|Splatoon}}}}}
| "splatfest" = [[File:Splatfest_Logo.png|30px|link=Splatfest|Splatfest]] [[Splatfest]]
|{{#if:{{{cost|}}}|{{Cost|{{{cost}}}|30px|game={{{game|Splatoon}}}|width=60px|link=true}}}}
| #default    = style="text-align: center;" {{!}} ---
|{{#if:{{{ability|}}}|{{Ability|{{{ability}}}|30px|game={{{game|Splatoon}}}}}}}
}}
|{{Rarity|{{{rarity}}}|15px}}
| {{Ability|{{{ability}}}|size=30px}}
| 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 21:56, 3 August 2017

|- |[[File:S_Gear_{{{category}}}_{{{name}}}.png|60px|{{{name}}}|link={{{name}}}]] |[[{{{name}}}]] |[[File:{{{brand}}}_Brand_30px.png|24px|30px|link=30px]] 30px | | |Template:Rarity