Template:Navbox weapons: Difference between revisions

From PZwiki
m (Remove sandbox elements)
m (Remove disambigs)
Line 107: Line 107:
     {{Navbox/row
     {{Navbox/row
     | group = {{ll|:Category:Ammo|{{tt|name=Navbox weapons|default=Ammo|arg1=ammo}}}}
     | group = {{ll|:Category:Ammo|{{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)|M1911 Auto 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|D-E Magazine}} • {{ll|M9 Magazine}} • {{ll|M14 Magazine}} • {{ll|M16 Magazine}} • {{ll|M1911 Auto Magazine}} • {{ll|MSR700 Magazine}} • {{ll|MSR788 Magazine}}
     }}
     }}
     {{Navbox/row
     {{Navbox/row
     | group = {{ll|Weapon parts|{{tt|name=Navbox weapons|default=Weapon parts|arg1=weapon_parts}}}}
     | group = {{ll|Weapon parts|{{tt|name=Navbox weapons|default=Weapon parts|arg1=weapon_parts}}}}
     | list = {{ll|Ammo Straps}} • {{ll|Bayonet}}{{Sup|Future}} • {{ll|Choke Tube - Full}} • {{ll|Choke Tube - Improved}} • {{ll|Gun Light}}{{Sup|Future}} • {{ll|Fiberglass Stock}} • {{ll|Iron Sight}} • {{ll|Laser}} • {{ll|Recoil Pad}} • {{ll|Red Dot}} • {{ll|Sling}} • {{ll|x2 Scope}} • {{ll|x4 Scope}} • {{ll|x8 Scope}}
     | list = {{ll|Ammo Straps}} • {{ll|Bayonet}}{{sup|future}} • {{ll|Choke Tube - Full}} • {{ll|Choke Tube - Improved}} • {{ll|Gun Light}}{{sup|future}} • {{ll|Fiberglass Stock}} • {{ll|Iron Sight}} • {{ll|Laser}} • {{ll|Recoil Pad}} • {{ll|Red Dot}} • {{ll|Sling}} • {{ll|x2 Scope}} • {{ll|x4 Scope}} • {{ll|x8 Scope}}
     }}
     }}
   | id = navbox_firearms
   | id = navbox_firearms

Revision as of 00:39, 7 April 2024

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

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 = {{Error|translation}}
}}

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.