Template:Navbox weapons: Difference between revisions

From PZwiki
m (Add Wooden Spear)
m (add missed magazine)
Line 62: Line 62:
     }}{{Navbox/row
     }}{{Navbox/row
     | group = {{tt|name=Navbox weapons|default=Ammo|arg1=ammo}}
     | group = {{tt|name=Navbox weapons|default=Ammo|arg1=ammo}}
     | list = {{ll|.223 Round}} • {{ll|.308 Round}} • {{ll|.38 Special Round}} • {{ll|.44 Magnum Round}} • {{ll|.45 Auto Round}} • {{ll|5.56mm Round}} • {{ll|9mm Round}} • {{ll|Shotgun Shells}} • {{ll|Magazine (firearms)|D-E Magazine}} • {{ll|Magazine (firearms)|M9 Magazine}} • {{ll|Magazine (firearms)|M14 Magazine}} • {{ll|Magazine (firearms)|M16 Magazine}} • {{ll|Magazine (firearms)|MSR700 Magazine}} • {{ll|Magazine (firearms)|MSR788 Magazine}}
     | list = {{ll|.223 Round}} • {{ll|.308 Round}} • {{ll|.38 Special Round}} • {{ll|.44 Magnum Round}} • {{ll|.45 Auto Round}} • {{ll|5.56mm Round}} • {{ll|9mm Round}} • {{ll|Shotgun Shells}} • {{ll|Magazine (firearms)|D-E Magazine}} • {{ll|Magazine (firearms)|M9 Magazine}} • {{ll|Magazine (firearms)|M14 Magazine}} • {{ll|Magazine (firearms)|M16 Magazine}} • {{ll|Magazine (firearms)|M1911 Auto Magazine}} • {{ll|Magazine (firearms)|MSR700 Magazine}} • {{ll|Magazine (firearms)|MSR788 Magazine}}
     }}{{Navbox/row
     }}{{Navbox/row
     | group = {{tt|name=Navbox weapons|default=Other|arg1=other}}
     | group = {{tt|name=Navbox weapons|default=Other|arg1=other}}

Revision as of 04:28, 22 January 2024

Notebook.pngTemplate Documentation

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

Usage

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
<!-- Groups -->
| axe = Axe
| long_blunt = Long Blunt
| short_blunt = Short Blunt
| long_blade = Long Blade
| short_blade = Short Blade
| spear = Spear
| firearm = Firearm
| explosives = Explosives
| weapon_part = Weapon part
| ammo = Ammo
| other = Other
| #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.