Template:GearList/Item/doc: Difference between revisions

From Inkipedia, the Splatoon wiki
(Created page with "__NOTOC__ Displays an item in a Gear list. Intended to be used in conjunction with GearList/Header and Template:GearList/Footer|GearList/Foo...")
 
m (Documenting filter parameters)
Line 39: Line 39:
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>cost</code>||Optional.||The numeric amount of [[Cash]] required to purchase the item from shops.
|<code>cost</code>||Optional.||The numeric amount of [[Cash]] required to purchase the item from shops.
|- style="vertical-align: top;"
|<code>filter_ability</code>||Optional.||No output will be produced if <code>ability</code> and <code>filter_ability</code> don't match.
|- style="vertical-align: top;"
|<code>filter_brand</code>||Optional.||No output will be produced if <code>brand</code> and <code>filter_brand</code> don't match.
|}
|}


{{GearList/Example}}
{{GearList/Example}}

Revision as of 13:14, 6 August 2017

Displays an item in a Gear list. Intended to be used in conjunction with GearList/Header and GearList/Footer.

Parameters

game Optional. The game the item belongs to. The default value is "Splatoon". Must be one of the following:
  • Splatoon
  • Splatoon 2
category The English name of the item's category. Must be one of the following:
  • Headgear
  • Clothing
  • Shoes
name The English name of the item.
brand The English name of the item's brand.
rarity The rarity of the item. Must be 1, 2 or 3.
ability Optional. The primary Ability the item will have when purchased in shops.
amiibo Optional. The amiibo that unlocks the item. Must be one of the following:
availability Optional. The special means by which the item can be obtained. Must be one of the following:
  • Octo Canyon
  • Octo Valley
  • Salmon Run
  • Splatfest
cost Optional. The numeric amount of Cash required to purchase the item from shops.
filter_ability Optional. No output will be produced if ability and filter_ability don't match.
filter_brand Optional. No output will be produced if brand and filter_brand don't match.

Example

Markup

{{GearList/Header|Example List|game=Splatoon 2|collapsed=false}}
{{GearList/Item|game=Splatoon 2|category=Headgear
  |name=Armor Helmet Replica|brand=Cuttlegear|amiibo=Marie|ability=Tenacity|stars=3}}
{{GearList/Item|game=Splatoon 2|category=Headgear
  |name=FishFry Visor|brand=Firefin|cost=500|ability=Special Charge Up|stars=1}}
{{GearList/Item|game=Splatoon 2|category=Headgear
  |name=Headlamp Helmet|brand=Grizzco|availability=Salmon Run|stars=3}}
{{GearList/Footer}}

Output

Example List