Template:GearList/Item: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Reverting to previous width as image column is no longer center-aligned. x.x)
m (Tweaking to use Template:Brand)
Line 2: Line 2:
| 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>
| 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>
| [[{{{name}}}]] {{#ifeq: "{{{nameea|}}}" | "" | | {{NA}}<br />{{{nameea}}} {{EA}} }}
| [[{{{name}}}]] {{#ifeq: "{{{nameea|}}}" | "" | | {{NA}}<br />{{{nameea}}} {{EA}} }}
| {{{{{brand}}}}}
| {{Brand|{{{brand}}}|size=30px}}
| {{#switch: "{{{unlock}}}"
| {{#switch: "{{{unlock}}}"
| "cash"      = {{Cost|{{{cost}}}}}
| "cash"      = {{Cost|{{{cost}}}|size=30px}}
| "amiibo"    = [[File:Brand_amiibo.png|30px|link=amiibo]] [[amiibo|{{{amiibo}}}]]
| "amiibo"    = [[File:Brand_amiibo.png|30px|link=amiibo]] [[amiibo|{{{amiibo}}}]]
| "heromode"  = [[File:Octarian_Icon.png|30px|link=Hero Mode|Hero Mode]] [[Hero Mode]]
| "octovalley"  = [[File:Octarian_Icon.png|30px|link=Octo Valley|Octo Valley]] [[Octo Valley]]
| "splatfest" = [[File:Splatfest_Logo.png|30px|link=Splatfest|Splatfest]] [[Splatfest]]
| "splatfest" = [[File:Splatfest_Logo.png|30px|link=Splatfest|Splatfest]] [[Splatfest]]
| #default    = style="text-align: center;" {{!}} ---
| #default    = style="text-align: center;" {{!}} ---
Line 18: Line 18:
* ''type'' - The item's type. Must be one of "Headgear", "Clothing" or "Shoes".
* ''type'' - The item's type. Must be one of "Headgear", "Clothing" or "Shoes".
* ''brand'' - The name of the item's brand.
* ''brand'' - The name of the item's brand.
* ''unlock'' - The method of unlocking the item. Must be "none", "cash", "amiibo", "heromode" or "splatfest".
* ''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.
:* ''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.
:* ''amiibo'' - Only required if ''unlock'' = "amiibo". The name of the amiibo that unlocks the item.

Revision as of 01:03, 2 July 2015

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:

{{GearListItem
|type    = Clothing
|name    = Baseball Jersey
|brand   = Firefin
|unlock  = cash
|cost    = 10000
|ability = Special Charge Up
|rarity  = 3
}}

Output:

User:GuyPerfect/GearListItem