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> | |<code>level</code>|| ||The [[level]] at which the weapon becomes available. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<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:
|
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:
| |
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 | ![]() |
![]() |
![]() |
7 | ![]() |
Shooter |
|
![]() |
Dual Squelcher | 80 | ![]() |
![]() |
![]() |
16 | ![]() |
Shooter |
|
![]() |
Hero Shot Replica | 45 | ![]() |
![]() |
![]() |
3 | ![]() |
Shooter |
|
![]() |
Splattershot Jr. | 10 | ![]() |
![]() |
![]() |
1 | Shooter |
| |
![]() |
Tri-Slosher | 3010 | ![]() |
![]() |
![]() |
9 | ![]() |
Slosher |