Template:Navbox weapons: Difference between revisions

From PZwiki
m (Change to Sup|Future)
(updated to new navbox and sandbox)
Line 1: Line 1:
<noinclude>{{Languages}}
<noinclude>{{Languages}}
{{Documentation/sandbox|doc=
{{Documentation/sandbox|doc=
{{note|content=This template is currently uses {{tll|navbox/Core}}, which will eventually be replaced by a new version of {{tll|navbox}}.}}
This template should be transcluded at the bottom of all {{ll|weapons}} pages.
This template should be transcluded at the bottom of all [[weapons|weapon]] pages.


==Usage==
==Usage==
{{tll|navbox weapons}}
*{{tll|Navbox weapons}}
{{navbox weapons}}
{{Navbox weapons}}


{{Translation guide}}
{{Translation guide|<syntaxhighlight lang="html">
{{#switch: {{{1|}}}
| 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]]
}}
</syntaxhighlight>}}


==See also==
==See also==
Line 14: Line 28:


}}
}}
{{ll|Category:Navbox}}</noinclude><includeonly>{{Navbox/Core
{{ll|Category:Navbox}}</noinclude><includeonly>{{Navbox
|collapsed = {{{collapsed|}}}
  | title = {{ll|:Category:Weapons|Weapons}}
|size = wide
  | content = {{Navbox/row
|title = [[:Category:Weapons{{Subpage}}|<span style="color: white;">{{tr|Weapons}}</span>]]
    | group = {{tt|name=Navbox weapons|default=Axe|arg1=axe}}
|template = Navbox weapons
    | list = {{ll|Hand Axe}} • {{ll|Stone Axe}} • {{ll|Axe}} • {{ll|Wood Axe}} • {{ll|Pick Axe}}
|group1 = {{tr|Axe}}
    }}{{Navbox/row
|list1 = {{ll|Hand Axe}} • {{ll|Stone Axe}} • {{ll|Axe}} • {{ll|Wood Axe}} • {{ll|Pick Axe}}
    | group = {{tt|name=Navbox weapons|default=Long Blunt|arg1=long_blunt}}
|group2 = {{tr|Long Blunt}}
    | list = {{ll|Acoustic Guitar}} • {{ll|Badminton Racket}} • {{ll|Barbell}} • {{ll|Baseball Bat}} • {{ll|Broom}} • {{ll|Canoe Paddle}} • {{ll|Canoe Paddle - Double-bladed}} • {{ll|Chainsaw}}{{Sup|Future}} • {{ll|Crowbar}} • {{ll|Electric Bass}} • {{ll|Electric Guitar}} • {{ll|Fishing Rod}} • {{ll|Fishing Rod (crafted)}} • {{ll|Fishing Rod without Line}} • {{ll|Garden Hoe}} • {{ll|Golf Club}} • {{ll|Hockey Stick}} • {{ll|Ice Hockey Stick}} • {{ll|Keytar}} • {{ll|Lacrosse_Stick|Lacrosse Stick}} • {{ll|Leaf Rake}} • {{ll|Plank}} • {{ll|Pool Cue}} • {{ll|Rake}} • {{ll|Saxophone}} • {{ll|Shovel}} • {{ll|Sledgehammer}} • {{ll|Snow Shovel}} • {{ll|Spiked Baseball Bat}} • {{ll|Spiked Plank}} • {{ll|Tennis Racket}} • {{ll|Trumpet}}
|list2 = {{ll|Acoustic Guitar}} • {{ll|Badminton Racket}} • {{ll|Barbell}} • {{ll|Baseball Bat}} • {{ll|Broom}} • {{ll|Canoe Paddle}} • {{ll|Canoe Paddle - Double-bladed}} • {{ll|Chainsaw}}{{Sup|Future}} • {{ll|Crowbar}} • {{ll|Electric Bass}} • {{ll|Electric Guitar}} • {{ll|Fishing Rod}} • {{ll|Fishing Rod (crafted)}} • {{ll|Fishing Rod without Line}} • {{ll|Garden Hoe}} • {{ll|Golf Club}} • {{ll|Hockey Stick}} • {{ll|Ice Hockey Stick}} • {{ll|Keytar}} • {{ll|Lacrosse_Stick|Lacrosse Stick}} • {{ll|Leaf Rake}} • {{ll|Plank}} • {{ll|Pool Cue}} • {{ll|Rake}} • {{ll|Saxophone}} • {{ll|Shovel}} • {{ll|Sledgehammer}} • {{ll|Snow Shovel}} • {{ll|Spiked Baseball Bat}} • {{ll|Spiked Plank}} • {{ll|Tennis Racket}} • {{ll|Trumpet}}
    }}{{Navbox/row
|group3 = {{tr|Short Blunt}}
    | group = {{tt|name=Navbox weapons|default=Short Blunt|arg1=short_blunt}}
|list3 = {{ll|Ball-peen Hammer}} • {{ll|Banjo}} • {{ll|Chair Leg}} • {{ll|Club Hammer}} • {{ll|Dumbbell}} • {{ll|Drumstick}} • {{ll|Flute}} • {{ll|Frying Pan}} • {{ll|Griddle Pan}} • {{ll|Hammer}} • {{ll|Lead Pipe}} • {{ll|Metal Bar}} • {{ll|Metal Pipe}}  • {{ll|Nightstick}} • {{ll|Plunger}} • {{ll|Pipe Wrench}} • {{ll|Pickaxe Handle}} • {{ll|Rolling Pin}} • {{ll|Saucepan}} • {{ll|Spiked Pickaxe Handle}} • {{ll|Stone Hammer}} • {{ll|Table Leg}} • {{ll|Violin}} • {{ll|Wooden Mallet}} • {{ll|Wrench}}
    | list = {{ll|Ball-peen Hammer}} • {{ll|Banjo}} • {{ll|Chair Leg}} • {{ll|Club Hammer}} • {{ll|Dumbbell}} • {{ll|Drumstick}} • {{ll|Flute}} • {{ll|Frying Pan}} • {{ll|Griddle Pan}} • {{ll|Hammer}} • {{ll|Lead Pipe}} • {{ll|Metal Bar}} • {{ll|Metal Pipe}}  • {{ll|Nightstick}} • {{ll|Plunger}} • {{ll|Pipe Wrench}} • {{ll|Pickaxe Handle}} • {{ll|Rolling Pin}} • {{ll|Saucepan}} • {{ll|Spiked Pickaxe Handle}} • {{ll|Stone Hammer}} • {{ll|Table Leg}} • {{ll|Violin}} • {{ll|Wooden Mallet}} • {{ll|Wrench}}
|group4 = {{tr|Long Blade}}
    }}{{Navbox/row
|list4 = {{ll|Machete}} • {{ll|Katana}}
    | group = {{tt|name=Navbox weapons|default=Long Blade|arg1=long_blade}}
|group5 = {{tr|Short Blade}}
    | list = {{ll|Machete}} • {{ll|Katana}}
|list5 = {{ll|Butter Knife}} • {{ll|Bread Knife}} • {{ll|Fork}} • {{ll|Hand Fork}} • {{ll|Hand Scythe}} • {{ll|Hunting Knife}} • {{ll|Ice Pick}} • {{ll|Letter Opener}} • {{ll|Kitchen Knife}} • {{ll|Meat Cleaver}} • {{ll|Scalpel}} • {{ll|Scissors}} • {{ll|Screwdriver}} • {{ll|Smashed Bottle}} • {{ll|Spoon}} • {{ll|Stake}} • {{ll|Stone Knife}}
    }}{{Navbox/row
|group6 = {{tr|Spear}}
    | group = {{tt|name=Navbox weapons|default=Short Blade|arg1=short_blade}}
|list6 = {{ll|Umbrella|Closed Umbrella}} • {{ll|Crafted Spear}} • {{ll|Garden Fork}} • {{ll|Spear with Bread Knife}} • {{ll|Spear with Butter Knife}} • {{ll|Spear with Fork}} • {{ll|Spear with Hand Fork}} • {{ll|Spear with Hunting Knife}} • {{ll|Spear with Ice Pick}} • {{ll|Spear with Knife}} • {{ll|Spear with Letter Opener}} • {{ll|Spear with Machete}} • {{ll|Spear with Scalpel}} • {{ll|Spear with Scissors}} • {{ll|Spear with Screwdriver}} • {{ll|Spear with Spoon}}
    | list = {{ll|Butter Knife}} • {{ll|Bread Knife}} • {{ll|Fork}} • {{ll|Hand Fork}} • {{ll|Hand Scythe}} • {{ll|Hunting Knife}} • {{ll|Ice Pick}} • {{ll|Letter Opener}} • {{ll|Kitchen Knife}} • {{ll|Meat Cleaver}} • {{ll|Scalpel}} • {{ll|Scissors}} • {{ll|Screwdriver}} • {{ll|Smashed Bottle}} • {{ll|Spoon}} • {{ll|Stake}} • {{ll|Stone Knife}}
|group7 = {{tr|Firearm}}
    }}{{Navbox/row
|list7 = {{ll|D-E Pistol}} • {{ll|Double Barrel Shotgun}} • {{ll|JS-2000 Shotgun}} • {{ll|M9 Pistol}} • {{ll|M14 Rifle}} • {{ll|M16 Assault Rifle}} • {{ll|M36 Revolver}} • {{ll|M625 Revolver}} • {{ll|M1911 Pistol}} • {{ll|Magnum}} • {{ll|MSR700 Rifle}} • {{ll|MSR788 Rifle}} • {{ll|Sawed-off Double Barrel Shotgun}} • {{ll|Sawed-off JS-2000 Shotgun}}
    | group = {{tt|name=Navbox weapons|default=Spear|arg1=spear}}
|group8 = {{tr|Explosives}}
    | list = {{ll|Umbrella|Closed Umbrella}} • {{ll|Crafted Spear}} • {{ll|Garden Fork}} • {{ll|Spear with Bread Knife}} • {{ll|Spear with Butter Knife}} • {{ll|Spear with Fork}} • {{ll|Spear with Hand Fork}} • {{ll|Spear with Hunting Knife}} • {{ll|Spear with Ice Pick}} • {{ll|Spear with Knife}} • {{ll|Spear with Letter Opener}} • {{ll|Spear with Machete}} • {{ll|Spear with Scalpel}} • {{ll|Spear with Scissors}} • {{ll|Spear with Screwdriver}} • {{ll|Spear with Spoon}}
|list8 = {{ll|Aerosol Bomb}} • {{ll|Aerosol Bomb|Aerosol Bomb with Sensor}} • {{ll|Aerosol Bomb|Aerosol Bomb with Timer}} • {{ll|Fire Bomb}} • {{ll|Fire Bomb|Fire Bomb with Sensor}} • {{ll|Fire Bomb|Fire Bomb with Timer}} • {{ll|Molotov Cocktail}} • {{ll|Noise Maker}} • {{ll|Noise Maker|Noise Maker with Sensor}} • {{ll|Noise Maker|Noise Maker with Timer}} • {{ll|Pipe Bomb}} • {{ll|Pipe Bomb|Pipe Bomb with Sensor}} • {{ll|Pipe Bomb|Pipe Bomb with Timer}} • {{ll|Aerosol Bomb|Remote Aerosol Bomb}} • {{ll|Fire Bomb|Remote Fire Bomb}} • {{ll|Noise Maker|Remote Noise Maker}} • {{ll|Pipe Bomb|Remote Pipe Bomb}} • {{ll|Smoke Bomb|Remote Smoke Bomb}} • {{ll|Smoke Bomb}} • {{ll|Smoke Bomb|Smoke Bomb with Sensor}} • {{ll|Smoke Bomb|Smoke Bomb with Timer}}
    }}{{Navbox/row
|group9 = {{ll|Weapon parts|Weapon part}}
    | group = {{tt|name=Navbox weapons|default=Firearm|arg1=firearm}}
|list9 = {{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|D-E Pistol}} • {{ll|Double Barrel Shotgun}} • {{ll|JS-2000 Shotgun}} • {{ll|M9 Pistol}} • {{ll|M14 Rifle}} • {{ll|M16 Assault Rifle}} • {{ll|M36 Revolver}} • {{ll|M625 Revolver}} • {{ll|M1911 Pistol}} • {{ll|Magnum}} • {{ll|MSR700 Rifle}} • {{ll|MSR788 Rifle}} • {{ll|Sawed-off Double Barrel Shotgun}} • {{ll|Sawed-off JS-2000 Shotgun}}
|group10 = {{ll|Ammo}}
    }}{{Navbox/row
|list10 = {{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}}
    | group = {{tt|name=Navbox weapons|default=Explosives|arg1=explosives}}
|group11 = {{tr|Other}}
    | list = {{ll|Aerosol Bomb}} • {{ll|Aerosol Bomb|Aerosol Bomb with Sensor}} • {{ll|Aerosol Bomb|Aerosol Bomb with Timer}} • {{ll|Fire Bomb}} • {{ll|Fire Bomb|Fire Bomb with Sensor}} • {{ll|Fire Bomb|Fire Bomb with Timer}} • {{ll|Molotov Cocktail}} • {{ll|Noise Maker}} • {{ll|Noise Maker|Noise Maker with Sensor}} • {{ll|Noise Maker|Noise Maker with Timer}} • {{ll|Pipe Bomb}} • {{ll|Pipe Bomb|Pipe Bomb with Sensor}} • {{ll|Pipe Bomb|Pipe Bomb with Timer}} • {{ll|Aerosol Bomb|Remote Aerosol Bomb}} • {{ll|Fire Bomb|Remote Fire Bomb}} • {{ll|Noise Maker|Remote Noise Maker}} • {{ll|Pipe Bomb|Remote Pipe Bomb}} • {{ll|Smoke Bomb|Remote Smoke Bomb}} • {{ll|Smoke Bomb}} • {{ll|Smoke Bomb|Smoke Bomb with Sensor}} • {{ll|Smoke Bomb|Smoke Bomb with Timer}}
|list11 = {{ll|Bare Hands}} • {{ll|Pen|Blue Pen}} • {{ll|Pen}} • {{ll|Pencil}} • {{ll|Pen|Red Pen}}
    }}{{Navbox/row
    | group = {{tt|name=Navbox weapons|default=Weapon part|arg1=weapon_part}}
    | 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}}
    }}{{Navbox/row
    | 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}}
    }}{{Navbox/row
    | group = {{tt|name=Navbox weapons|default=Other|arg1=other}}
    | list = {{ll|Bare Hands}} • {{ll|Pen|Blue Pen}} • {{ll|Pen}} • {{ll|Pencil}} • {{ll|Pen|Red Pen}}
    }}
  | id = weapons
}}</includeonly>
}}</includeonly>

Revision as of 13:17, 4 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|}}}
| 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.