Template:Navbox weapons

From PZwiki
Revision as of 09:15, 19 March 2024 by Calvy (talk | contribs) (Update navbox ID)
Notebook.pngTemplate Documentation

This template should be transcluded at the bottom of all weapons pages.

Parameters

The parameters are based on the type of article. The usable parameters are;

  • axe
  • blade
  • blunt
  • spears
  • explosives
  • firearms
  • other

The parameters are not case-sensitive, but lowercase is recommended. Leaving parameters blank will result in all sub boxes remaining closed.

Usage

Template:Navbox weapons/sandbox

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
<!-- Title -->
| weapons = Weapons
| firearms = Firearms
| blade_weapons = Blade weapons
| blunt_weapons = Blunt weapons
| axe = Axe
| spears = Spears
| explosives = Explosives
| other = Other
<!-- Groups -->
| ammo = Ammo
| weapon_parts = Weapon parts
| short_blade = Short blade
| long_blade = Long blade
| short_blunt = Short_blunt
| long_blunt = Long_blunt
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.