Template:Navbox weapons: Difference between revisions

From PZwiki
m (Fix template)
m (Add Wooden Spear)
Line 50: Line 50:
     }}{{Navbox/row
     }}{{Navbox/row
     | group = {{tt|name=Navbox weapons|default=Spear|arg1=spear}}
     | group = {{tt|name=Navbox weapons|default=Spear|arg1=spear}}
     | 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}}
     | 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}} • {{ll|Wooden Spear}}
     }}{{Navbox/row
     }}{{Navbox/row
     | group = {{tt|name=Navbox weapons|default=Firearm|arg1=firearm}}
     | group = {{tt|name=Navbox weapons|default=Firearm|arg1=firearm}}

Revision as of 01:06, 7 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.