Module:Weapon/doc

From Inkipedia, the Splatoon wiki
Revision as of 04:45, 15 February 2018 by Heddy (talk | contribs) (Documentation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Weapon

Displays an inline weapon icon with a text link.

Usage

{{Weapon|<game>|<category>|<name>|<size>|<icononly>}}

Parameters

Parameter Type Status Description
game Unnamed Required. The game that the ability belongs to. Must be one of the following:
  • S for Splatoon
  • S2 for Splatoon 2
category Unnamed Required The type of weapon. Must be one of the following:
  • Main
  • Sub
  • Special
name Unnamed Required The English name of the weapon.
  • For Bomb Rush, specify the bomb type in parenthesis like Bomb Rush (Burst Bomb).
  • For random weapons in Salmon Run, simply use a question mark: ?
size Unnamed Optional The pixel width for the icon. The default size is 24.
icononly Unnamed Optional If present, the text label will be omitted.

Examples

Markup

* {{Weapon|S|Special|Bomb Rush}}
* {{Weapon|S|Special|Bomb Rush (Seeker)|48}}
* {{Weapon|S2|Main|Splattershot Jr.|icononly}}
* {{Weapon|S2|Main|Splattershot Jr.|48|icononly}}
* {{Weapon|S2|Main|?}}

Output