Template:WeaponList/Item/doc: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Documenting level, class and filter_class parameters)
m (Use improved Template:amiibo)
Line 20: Line 20:
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>amiibo</code>||Optional.||The [[amiibo]] that unlocks the item. Must be one of the following:
|<code>amiibo</code>||Optional.||The [[amiibo]] that unlocks the item. Must be one of the following:
*{{amiibo|Inkling Boy|game=Splatoon|icononly=true}} Inkling Boy
*{{amiibo|Inkling Boy|icononly}} Inkling Boy
*{{amiibo|Inkling Girl|game=Splatoon|icononly=true}} Inkling Girl
*{{amiibo|Inkling Girl|icononly}} Inkling Girl
*{{amiibo|Inkling Squid|game=Splatoon|icononly=true}} Inkling Squid
*{{amiibo|Inkling Squid|icononly}} Inkling Squid
*{{amiibo|Callie|game=Splatoon|icononly=true}} Callie
*{{amiibo|Callie|icononly}} Callie
*{{amiibo|Marie|game=Splatoon|icononly=true}} Marie
*{{amiibo|Marie|icononly}} Marie
*{{amiibo|Inkling Boy|game=Splatoon 2|icononly=true|section=Inkling Boy 2}} Inkling Boy 2
*{{amiibo|Inkling Boy 2|icononly}} Inkling Boy 2
*{{amiibo|Inkling Girl|game=Splatoon 2|icononly=true|section=Inkling Girl 2}} Inkling Girl 2
*{{amiibo|Inkling Girl 2|icononly}} Inkling Girl 2
*{{amiibo|Inkling Squid|game=Splatoon 2|icononly=true|section=Inkling Squid 2}} Inkling Squid 2
*{{amiibo|Inkling Squid 2|icononly}} Inkling Squid 2
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>availability</code>||Optional.||The special means by which the item can be obtained. Must be one of the following:
|<code>availability</code>||Optional.||The special means by which the item can be obtained. Must be one of the following:

Revision as of 15:40, 13 February 2018

Displays a weapon in a weapon list. Intended to be used in conjunction with WeaponList/Header and WeaponList/Footer.

This template is a proxy that pre-evaluates parameters for WeaponList/ItemEx

Parameters

game Optional. The game the item belongs to. The default value is "Splatoon". Must be one of the following:
  • Splatoon
  • Splatoon 2
main The English name of the weapon.
euoc Optional The Europe/Oceania English name of the weapon, if different from main
sub The English name of the weapon's Sub Weapon.
special The English name of the weapon's Special Weapon.
amiibo Optional. The amiibo that unlocks the item. Must be one of the following:
  • Inkling Boy Inkling Boy
  • Inkling Girl Inkling Girl
  • Inkling Squid Inkling Squid
  • Callie Callie
  • Marie Marie
  • Inkling Boy 2 Inkling Boy 2
  • Inkling Girl 2 Inkling Girl 2
  • Inkling Squid 2 Inkling Squid 2
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
  • 7-Eleven
cost Optional. The numeric amount of Cash required to purchase the weapon from Ammo Knights.
scroll Optional. The English name of the boss that awards the Sunken Scroll required to purchase the weapon. Must be one of the following:
  • Octostomp
  • Octonozzle
  • Octowhirl
  • Octomaw
  • Octobot King
level The level at which the weapon becomes available.
class The weapon's class. Must be one of the following:
  • Brella
  • Charger
  • Dualies
  • Roller
  • Shooter
  • Slosher
  • Splatling
filter_sub Optional. No output will be produced if sub and filter_sub don't match.
filter_special Optional. No output will be produced if special and filter_special don't match.
filter_class Optional. No output will be produced if class and filter_class don't match.

Example

Markup

{{WeaponList/Header|Example List|game=Splatoon}}
{{WeaponList/Item|game=Splatoon|main=Aerospray MG|sub=Seeker|special=Inkzooka|depletion=Light|price=4,500|scroll=Octowhirl|level=7|class=Shooter|id=30}}
{{WeaponList/Item|game=Splatoon|main=Dual Squelcher|sub=Splat Bomb|special=Echolocator|depletion=Light|price=9,800|level=16|class=Shooter|id=80}}
{{WeaponList/Item|game=Splatoon|main=Hero Shot Replica|sub=Burst Bomb|special=Bomb Rush|depletion=Light|price=1,200|amiibo=Inkling Girl|level=3|class=Shooter|id=45}}
{{WeaponList/Item||game=Splatoon|main=Splattershot Jr.|sub=Splat Bomb|special=Bubbler|depletion=Medium|level=1|class=Shooter|id=10}}
{{WeaponList/Item|game=Splatoon|main=Tri-Slosher|sub=Disruptor|special=Bubbler|depletion=Medium|price=7,500|level=9|class=Slosher|id=3010}}
{{WeaponList/Footer}}

Output

Example List
Main #ID Sub Special Special Depletion Level Price Class Introduced


Aerospray MG 30 Seeker Inkzooka Special gaugeLight 7 Cash 4,500 Shooter


Dual Squelcher 80 Splat Bomb Echolocator Special gaugeLight 16 Cash 9,800 Shooter


Hero Shot Replica 45 Burst Bomb Bomb Rush Special gaugeLight 3 Cash 1,200 Shooter


Splattershot Jr. 10 Splat Bomb Bubbler Special gaugeMedium 1 Shooter


Tri-Slosher 3010 Disruptor Bubbler Special gaugeMedium 9 Cash 7,500 Slosher