Template:Navbox items: Difference between revisions

From PZwiki
mNo edit summary
m (Remove double spaces)
Line 232: Line 232:
       {{Navbox/row
       {{Navbox/row
       | group = {{ll|:Category:Short blunt weapons|{{tt|name=Navbox items|default=Short blunt|arg1=short_blunt}}}}
       | group = {{ll|:Category:Short blunt weapons|{{tt|name=Navbox items|default=Short blunt|arg1=short_blunt}}}}
       | 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}}
       | 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}}
       }}
       }}
       {{Navbox/row
       {{Navbox/row
Line 270: Line 270:
       {{Navbox/row
       {{Navbox/row
       | group = {{ll|:Category:Explosives|{{tt|name=Navbox items|default=Explosives|arg1=explosives}}}}
       | group = {{ll|:Category:Explosives|{{tt|name=Navbox items|default=Explosives|arg1=explosives}}}}
       | list = {{ll|Aerosol Bomb}} • {{ll|Fire Bomb}} • {{ll|Molotov Cocktail}} • {{ll|Noise Maker}} • {{ll|Pipe Bomb}} • {{ll|Smoke Bomb}} • {{ll|Box of Sparklers}} • {{ll|Gunpowder}}
       | list = {{ll|Aerosol Bomb}} • {{ll|Fire Bomb}} • {{ll|Molotov Cocktail}} • {{ll|Noise Maker}} • {{ll|Pipe Bomb}} • {{ll|Smoke Bomb}} • {{ll|Box of Sparklers}} • {{ll|Gunpowder}}
       }}
       }}
     | id = navbox_explosives
     | id = navbox_explosives
Line 682: Line 682:
     }}{{Navbox/row
     }}{{Navbox/row
       |group = {{tt|name=Navbox items|default=Radio stations|arg1=radio}}
       |group = {{tt|name=Navbox items|default=Radio stations|arg1=radio}}
       |list = {{ll|Adverts}} • {{ll|Automated Emergency Broadcast System}} • {{ll|Civilian Radio}} • {{ll|Classified M1A1}} • {{ll|Hitz FM}} • {{ll|KnoxTalk Radio}} • {{ll|LBMW - Kentucky Radio}} • {{ll|NNR Radio}} • {{ll|Unknown Frequency}}
       |list = {{ll|Adverts}} • {{ll|Automated Emergency Broadcast System}} • {{ll|Civilian Radio}} • {{ll|Classified M1A1}} • {{ll|Hitz FM}} • {{ll|KnoxTalk Radio}} • {{ll|LBMW - Kentucky Radio}} • {{ll|NNR Radio}} • {{ll|Unknown Frequency}}
     }}{{Navbox/row
     }}{{Navbox/row
       |group = {{tt|name=Navbox items|default=VHS tapes|arg1=tape}}
       |group = {{tt|name=Navbox items|default=VHS tapes|arg1=tape}}

Revision as of 07:53, 17 April 2024

Notebook.pngTemplate Documentation

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

Usage

{{Navbox items}}


{{Navbox items|blade}}

Parameters

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

  • axe
  • blade
  • blunt
  • spears
  • firearms
  • explosives
  • other_weapons
  • containers
  • tools
  • household_equipment
  • electronics
  • medical
  • survival
  • tops
  • bottoms
  • footwear
  • headwear
  • underwear
  • full_body
  • accessories
  • jewelry
  • preserved_food
  • prepared_food
  • meat
  • plants
  • miscellaneous_food
  • drinks
  • electronic_media
  • literature
  • appearance
  • household
  • instruments
  • plush_toys
  • sports
  • junk
  • carpentry_materials
  • metalwork_materials
  • electrical_materials
  • farming_materials
  • fishing_materials
  • first_aid_materials
  • first_aid_materials
  • tailoring_materials

The parameters are not case sensitive, but lowercase should be used. Leaving parameters blank will result in all sub boxes remaining closed.

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|}}}
|items = Items
|weapons = Weapons
|axe = Axes
|blade_weapons = Blade
|short_blade = Short blade
|long_blade = Long blade
|blunt_weapons = Blunt
|short_blunt = Short blunt
|long_blunt = Long blunt
|spears = Spears
|firearms = Firearms
|ammo = Ammo
|weapon_parts = Weapon parts
|explosives = Explosives
|other = Other
|equipment = Equipment
|containers = Containers
|wearable_containers = Wearable
|handheld_containers = Handheld
|water_containers = Water
|tools = Tools
|general_tools = General
|cooking_tools = Cooking
|gardening = Gardening
|household = Household
|stationery = Stationery
|security = Security
|electronics = Electronics
|general_electronics = General electronics
|communications = Communications
|medical = Medical
|bandages = Bandages
|disinfection = Disinfection
|medicine = Medicine
|suture = Suture
|herbs = Medicinal herbs
|misc = Miscellaneous
|survival = Survival
|camping = Camping
|fishing = Fishing
|trapping = Trapping
|light_sources = Light sources
|clothing = Clothing
|tops = Tops
|shirts = Shirts
|t-shirts = T-shirts
|vests = Vests
|jackets = Jackets
|bottoms = Bottoms
|pants = Pants
|shorts = Shorts
|skirts = Skirts
|footwear = Footwear
|shoes = Shoes
|socks = Socks
|headwear = Headwear
|hats = Hats
|helmets = Helmets
|masks = Masks
|underwear = Underwear
|underpants = Underpants
|bras = Bras
|full_body = Full body
|dresses = Dresses
|accessories = Accessories
|jewelry = Jewelry
|neck = Neck
|nose = Nose
|ears = Ears
|fingers = Fingers
|wrists = Wrists
|belly = Belly
|food = Food
|preserved_food = Preserved food
|canned_food = Canned food
|pickled_food = Pickled food
|prepared_food = Prepared food
|meat = Meat
|fish = Fish
|game_meat = Game meat
|insects = Insects
|seafood = Seafood
|other_meat = Other meat
|plants = Plants
|fruit = Fruit
|vegetables = Vegetables
|grains = Grains
|medicinal_plants = Medicinal plants
|wild_herbs = Wild herbs
|wild_plants = Wild plants
|miscellaneous_food = Miscellaneous
|spices = Spices
|sweets = Sweets
|drinks = Drinks
|media = Media
|electronic_media = Electronic media
|device = Devices
|tv = TV stations
|radio = Radio stations
|tape = VHS tapes
|literature = Literature
|leisure = Leisure
|cartography = Cartography
|recipe_magazine = Recipe magazine
|skill_book = Skill book
|writable = Writable
|miscellaneous_items = Miscellaneous items
|appearance = Appearance
|stationary = Stationary
|instruments = Instruments
|plush_toys = Plush toys
|sports = Sports
|junk = Junk
|materials = Materials
|carpentry_materials = Carpentry materials
|carpentry = Carpentry
|metalwork_materials = Metalwork
|electrical_materials = Electrical
|farming_materials = Farming
|fishing_materials = Fishing
|first_aid_materials = First aid
|tailoring_materials = Tailoring
| #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.