Template:WeaponList/Item/doc: Difference between revisions
From Inkipedia, the Splatoon wiki
(Removed availability, added index) |
m (added category) |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 8: | Line 8: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>game</code>||Optional.||The game the item belongs to. The default value is "Splatoon". Must be one of the following: | |<code>game</code>||Optional.||The game the item belongs to. The default value is "Splatoon". Must be one of the following: | ||
*Splatoon | *<code>Splatoon</code> | ||
*Splatoon 2 | *<code>Splatoon 2</code> | ||
*<code>Splatoon 3</code> | |||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>main</code>|| ||The English name of the weapon. | |<code>main</code>|| ||The English name of the weapon. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>euoc</code>||Optional||The Europe/Oceania English name of the weapon, if different from <code>main</code> | |<code>euoc</code>||Optional.||The Europe/Oceania English name of the weapon, if different from <code>main</code> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>sub</code>|| ||The English name of the weapon's [[ | |<code>sub</code>|| ||The English name of the weapon's [[sub weapon]]. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>special</code>|| ||The English name of the weapon's [[ | |<code>special</code>|| ||The English name of the weapon's [[special weapon]]. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>level</code>|| ||The [[level]] at which the weapon becomes available. | |<code>level</code>|| ||The [[level]] at which the weapon becomes available. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>price</code>||Optional.||The numeric amount of [[ | |<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: | ||
*Brella | *<code>Blaster</code> | ||
*Charger | *<code>Brella</code> | ||
* | *<code>Brush</code> | ||
*Roller | *<code>Charger</code> | ||
*Shooter | *<code>Dualie</code> | ||
*Slosher | *<code>Roller</code> | ||
*Splatling | *<code>Shooter</code> | ||
*<code>Slosher</code> | |||
*<code>Splatana</code> | |||
*<code>Splatling</code> | |||
*<code>Stringer</code> | |||
|- style="vertical-align: top;" | |||
|<code>class2</code>||Optional.||The weapon's subclass that would become an independent class in a future installment, for filtering purposes. Must be one of the following: | |||
*<code>Blaster</code> | |||
*<code>Brush</code> | |||
|- style="vertical-align: top;" | |||
|<code>introduced</code>||Optional||The [[version]] in which the weapon was added to the game. | |||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>index</code>||Optional.||The index number of the weapon set. | |<code>index</code>||Optional.||The index number of the weapon set. | ||
Line 39: | Line 50: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>filter_class</code>||Optional.||No output will be produced if <code>class</code> and <code>filter_class</code> don't match. | |<code>filter_class</code>||Optional.||No output will be produced if <code>class</code> and <code>filter_class</code> don't match. | ||
|- style="vertical-align: top;" | |||
|<code>filter_class2</code>||Optional.||No output will be produced if <code>class2</code> and <code>filter_class2</code> don't match. | |||
|} | |} | ||
{{WeaponList/Example}} | {{WeaponList/Example}} | ||
[[category:Template documentation]] |
Latest revision as of 20:56, 10 May 2024
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:
| |
class2 |
Optional. | The weapon's subclass that would become an independent class in a future installment, for filtering purposes. Must be one of the following:
|
introduced |
Optional | The version in which the weapon was added to the game. |
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.
|
filter_class2 |
Optional. | No output will be produced if class2 and filter_class2 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 | Light | 7 | 4,500 | Shooter |
| |
Dual Squelcher | 80 | Splat Bomb | Echolocator | Light | 16 | 9,800 | Shooter |
| |
Hero Shot Replica | 45 | Burst Bomb | Bomb Rush | Light | 3 | 1,200 | Shooter |
| |
Splattershot Jr. | 10 | Splat Bomb | Bubbler | Medium | 1 | Shooter |
| ||
Tri-Slosher | 3010 | Disruptor | Bubbler | Medium | 9 | 7,500 | Slosher |