Template:Infobox weapon

From TeamSpec Wiki
Revision as of 05:33, 20 October 2026 by TeamSpecBot (talk | contribs) (Fit narrow screens)
Jump to navigation Jump to search

The box at the top right of every weapon page. Put one {{{Stat row}}} per stat in stats.

Usage

{{Infobox weapon
| name = Pistol
| slot = Secondary
| type = Hitscan
| cost = Free
| stats =
{{Stat row|Damage|18}}
{{Stat row|Fire rate|5 per second}}
}}

Parameters

  • name: the title. Defaults to the page name.
  • slot: slot
  • type: type
  • cost: cost

Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for #if.