Template:GearList/Item: Difference between revisions
From Inkipedia, the Splatoon wiki
(added "cost_type" for non-cash currencies (e.g. fish scales)) |
m (changed link; page moved) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
|availability = {{{availability|}}} | |availability = {{{availability|}}} | ||
|ability = {{{ability|}}} | |ability = {{{ability|}}} | ||
|stars = {{{stars|}}} | |stars = {{{stars|}}} | ||
|introduced = {{{introduced|}}} | |||
|custom_file = {{{custom_file|}}} | |||
|filter = {{Logical|OR | |filter = {{Logical|OR | ||
|{{#if:{{{filter_brand|}}}|{{#ifeq:{{{filter_brand}}}|{{{brand}}}|false|true}}|false}} | |{{#if:{{{filter_brand|}}}|{{#ifeq:{{{filter_brand}}}|{{{brand}}}|false|true}}|false}} | ||
|{{#if:{{{filter_ability|}}}|{{#ifeq:{{{filter_ability}}}|{{{ability}}}|false|true}}|false}} | |{{#if:{{{filter_ability|}}}|{{#ifeq:{{{filter_ability}}}|{{{ability}}}|false|true}}|false}} | ||
}} | }} | ||
}}</includeonly><noinclude>{{GearList/ | }}</includeonly><noinclude>{{GearList/Item/doc}}</noinclude> |
Latest revision as of 20:48, 10 May 2024
Displays an item in a Gear list. Intended to be used in conjunction with GearList/Header and GearList/Footer.
This template is a proxy that pre-evaluates parameters for GearList/ItemEx
Parameters
game |
Optional. | The game the item belongs to. The default value is Splatoon . Must be one of the following:
|
category |
The English name of the item's category. Must be one of the following:
| |
name |
The English name of the item. | |
euoc |
Optional | The Europe/Oceania English name of the item, if different from name .
|
custom_file |
Optional | The name part of the item in its associated file, if different from name .
|
brand |
The English name of the item's gear brand. | |
stars rarity |
Optional. | The star power of the item. Must be 0, 1, 2 or 3 (matching each game's values). Only one parameter name may be used: stars is preferred, but rarity is kept for existing lists.
|
ability |
Optional. | The primary gear 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:
|
cost |
Optional. | The numeric amount of currency required to purchase the item from shops. |
cost_type |
Optional. | The type of currency for cost . Default value is cash . Must be one of the following:
|
addedin |
Optional | The version in which the item was added to the game. |
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
Name | Brand | Availability | Ability | Star power | Added in
| |
---|---|---|---|---|---|---|
Armor Helmet Replica | Cuttlegear | Marie | Tenacity |
| ||
FishFry Visor | Firefin | 500 | Special Charge Up |
| ||
Headlamp Helmet | Grizzco | Salmon Run |