Template:GearList/Item: Difference between revisions

From Inkipedia, the Splatoon wiki
(Adding second div to make splat appear in above item image instead at top of page... hopefully. XD)
(Changing splat to background.)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
| style="text-align: center;" | {{#if: {{{color|}}}|<div style="display: inline-block; position: relative;>}}[[File:Gear_{{{type}}}_{{{name}}}.png|60px]]{{#if: {{{color|}}}|<div style="position: absolute; left: 56px; top: 10px;">[[File:Nav-videos-backsplat.png|x25px|link=|Color changes during gameplay]]</div></div>}}
| style="text-align: center;" | {{#if: {{{color|}}}|<span style="position: relative; left: 76px; top: 2px;">[[File:Boy-splatter-right.png|80px|link=|Color changes during gameplay]]</span>}} {{#if: {{{color|}}}|<span style="position: relative; left: 0px; top: 0px;">[[File:Gear_{{{type}}}_{{{name}}}.png|60px]]</span>}}
| [[{{{name}}}]]
| [[{{{name}}}]]
| {{{{{brand}}}}}
| {{{{{brand}}}}}

Revision as of 19:27, 20 June 2015

Parameters

All parameters are required unless otherwise noted.

  • name - The item's name.
  • color - Enter any value if the item's color changes during gameplay.
  • 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", "heromode" 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.

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