Template:WeaponList/Item/doc: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Use improved Template:amiibo)
(Removed availability, added index)
Line 19: Line 19:
|<code>special</code>|| ||The English name of the weapon's [[Special Weapon]].
|<code>special</code>|| ||The English name of the weapon's [[Special Weapon]].
|- 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>level</code>|| ||The [[level]] at which the weapon becomes available.
*{{amiibo|Inkling Boy|icononly}} Inkling Boy
*{{amiibo|Inkling Girl|icononly}} Inkling Girl
*{{amiibo|Inkling Squid|icononly}} Inkling Squid
*{{amiibo|Callie|icononly}} Callie
*{{amiibo|Marie|icononly}} Marie
*{{amiibo|Inkling Boy 2|icononly}} Inkling Boy 2
*{{amiibo|Inkling Girl 2|icononly}} Inkling Girl 2
*{{amiibo|Inkling Squid 2|icononly}} Inkling Squid 2
|- style="vertical-align: top;"
|<code>availability</code>||Optional.||The special means by which the item can be obtained. Must be one of the following:
*[[File:S2 Icon Octo Canyon.png|20px|link=]] Octo Canyon
*[[File:S Icon Octo Valley.png|20px|link=]] Octo Valley
*[[File:S2 Icon Grizzco.png|20px|link=]] Salmon Run
*[[File:Splatfest Logo.png|20px|link=]] [[File:S2 Splatfest Logo.svg|20px|link=]] Splatfest
*[[File:7-Eleven Logo.png|20px|link=]] 7-Eleven
|- style="vertical-align: top;"
|<code>cost</code>||Optional.||The numeric amount of [[Cash]] required to purchase the weapon from [[Ammo Knights]].
|- style="vertical-align: top;"
|<code>scroll</code>||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
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>level</code>|| ||The [[level]] at which the weapon becomes available.
|<code>price</code>||Optional.||The numeric amount of [[Cash]] required to purchase the weapon from [[Ammo Knights]].
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>class</code>|| ||The weapon's class. Must be one of the following:
|<code>class</code>|| ||The weapon's class. Must be one of the following:
Line 55: Line 31:
*Slosher
*Slosher
*Splatling
*Splatling
|- style="vertical-align: top;"
|<code>index</code>||Optional.||The index number of the weapon set.
|- style="vertical-align: top;"
|- style="vertical-align: top;"
|<code>filter_sub</code>||Optional.||No output will be produced if <code>sub</code> and <code>filter_sub</code> don't match.
|<code>filter_sub</code>||Optional.||No output will be produced if <code>sub</code> and <code>filter_sub</code> don't match.

Revision as of 11:57, 2 September 2019

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.
level The level at which the weapon becomes available.
price Optional. The numeric amount of Cash required to purchase the weapon from Ammo Knights.
class The weapon's class. Must be one of the following:
  • Brella
  • Charger
  • Dualies
  • Roller
  • Shooter
  • Slosher
  • Splatling
index Optional. The index number of the weapon set.
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