Template:Navbox items: Difference between revisions
Tag: Undo |
(doc: translation guide: fix missing pipes & added medical subsections) |
||
Line 59: | Line 59: | ||
{{Translation guide|<syntaxhighlight lang="html"> | {{Translation guide|<syntaxhighlight lang="html"> | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
items = Items | |items = Items | ||
weapons = Weapons | |weapons = Weapons | ||
axe = Axe | |axe = Axe | ||
blade_weapons = Blade weapons | |blade_weapons = Blade weapons | ||
short_blade = Short blade | |short_blade = Short blade | ||
long_blade = Long blade | |long_blade = Long blade | ||
blunt_weapons = Blunt weapons | |blunt_weapons = Blunt weapons | ||
short_blunt = Short blunt | |short_blunt = Short blunt | ||
long_blunt = Long blunt | |long_blunt = Long blunt | ||
spears = Spears | |spears = Spears | ||
firearms = Firearms | |firearms = Firearms | ||
ammo = Ammo | |ammo = Ammo | ||
weapon_parts = Weapon parts | |weapon_parts = Weapon parts | ||
explosives = Explosives | |explosives = Explosives | ||
other = Other | |other = Other | ||
equipment = Equipment | |equipment = Equipment | ||
containers = Containers | |containers = Containers | ||
wearable_containers = Wearable | |wearable_containers = Wearable | ||
handheld_containers = Handheld | |handheld_containers = Handheld | ||
water_containers = Water | |water_containers = Water | ||
tools = Tools | |tools = Tools | ||
general_tools = General | |general_tools = General | ||
cooking_tools = Cooking | |cooking_tools = Cooking | ||
gardening = Gardening | |gardening = Gardening | ||
household = Household | |household = Household | ||
stationery = Stationery | |stationery = Stationery | ||
security = Security | |security = Security | ||
electronics = Electronics | |electronics = Electronics | ||
general_electronics = General electronics | |general_electronics = General electronics | ||
communications = Communications | |communications = Communications | ||
medical = Medical | |medical = Medical | ||
camping = Camping | |bandages = Bandages | ||
fishing = Fishing | |disinfection = Disinfection | ||
trapping = Trapping | |medicine = Medicine | ||
light_sources = Light sources | |suture = Suture | ||
clothing = Clothing | |herbs = Medicinal herbs | ||
tops = Tops | |misc = Miscellaneous | ||
shirts = Shirts | |survival = Survival | ||
vests = Vests | |camping = Camping | ||
jackets = Jackets | |fishing = Fishing | ||
bottoms = Bottoms | |trapping = Trapping | ||
pants = Pants | |light_sources = Light sources | ||
shorts = Shorts | |clothing = Clothing | ||
skirts = Skirts | |tops = Tops | ||
footwear = Footwear | |shirts = Shirts | ||
shoes = Shoes | |vests = Vests | ||
socks = Socks | |jackets = Jackets | ||
headwear = Headwear | |bottoms = Bottoms | ||
hats = Hats | |pants = Pants | ||
helmets = Helmets | |shorts = Shorts | ||
masks = Masks | |skirts = Skirts | ||
underwear = Underwear | |footwear = Footwear | ||
underpants = Underpants | |shoes = Shoes | ||
bras = Bras | |socks = Socks | ||
full_body = Full body | |headwear = Headwear | ||
dresses = Dresses | |hats = Hats | ||
accessories = Accessories | |helmets = Helmets | ||
jewelry = Jewelry | |masks = Masks | ||
food = Food | |underwear = Underwear | ||
preserved_food = Preserved food | |underpants = Underpants | ||
canned_food = Canned food | |bras = Bras | ||
pickled_food = Pickled food | |full_body = Full body | ||
prepared_food = Prepared food | |dresses = Dresses | ||
meat = Meat | |accessories = Accessories | ||
fish = Fish | |jewelry = Jewelry | ||
game_meat = Game meat | |food = Food | ||
insects = Insects | |preserved_food = Preserved food | ||
seafood = Seafood | |canned_food = Canned food | ||
other_meat = Other meat | |pickled_food = Pickled food | ||
plants = Plants | |prepared_food = Prepared food | ||
fruit = Fruit | |meat = Meat | ||
vegetables = Vegetables | |fish = Fish | ||
grains = Grains | |game_meat = Game meat | ||
medicinal_plants = Medicinal plants | |insects = Insects | ||
wild_herbs = Wild herbs | |seafood = Seafood | ||
wild_plants = Wild plants | |other_meat = Other meat | ||
miscellaneous_food = Miscellaneous | |plants = Plants | ||
spices = Spices | |fruit = Fruit | ||
sweets = Sweets | |vegetables = Vegetables | ||
drinks = Drinks | |grains = Grains | ||
media = Media | |medicinal_plants = Medicinal plants | ||
electronic_media = Electronic media | |wild_herbs = Wild herbs | ||
tv_adverts = TV adverts | |wild_plants = Wild plants | ||
radio_adverts = Radio adverts | |miscellaneous_food = Miscellaneous | ||
literature = Literature | |spices = Spices | ||
miscellaneous_items = Miscellaneous items | |sweets = Sweets | ||
appearance = Appearance | |drinks = Drinks | ||
stationary = Stationary | |media = Media | ||
instruments = Instruments | |electronic_media = Electronic media | ||
plush_toys = Plush toys | |tv_adverts = TV adverts | ||
sports = Sports | |radio_adverts = Radio adverts | ||
junk = Junk | |literature = Literature | ||
materials = Materials | |miscellaneous_items = Miscellaneous items | ||
carpentry_materials = Carpentry materials | |appearance = Appearance | ||
metalwork_materials = Metalwork | |stationary = Stationary | ||
electrical_materials = Electrical | |instruments = Instruments | ||
farming_materials = Farming | |plush_toys = Plush toys | ||
first_aid_materials = First aid | |sports = Sports | ||
tailoring_materials = Tailoring | |junk = Junk | ||
|materials = Materials | |||
|carpentry_materials = Carpentry materials | |||
|metalwork_materials = Metalwork | |||
|electrical_materials = Electrical | |||
|farming_materials = Farming | |||
|first_aid_materials = First aid | |||
|tailoring_materials = Tailoring | |||
| #default = {{Error|translation}} | | #default = {{Error|translation}} | ||
}} | }} |
Revision as of 12:02, 8 April 2024
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 = Axe
|blade_weapons = Blade weapons
|short_blade = Short blade
|long_blade = Long blade
|blunt_weapons = Blunt weapons
|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
|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
|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
|tv_adverts = TV adverts
|radio_adverts = Radio adverts
|literature = Literature
|miscellaneous_items = Miscellaneous items
|appearance = Appearance
|stationary = Stationary
|instruments = Instruments
|plush_toys = Plush toys
|sports = Sports
|junk = Junk
|materials = Materials
|carpentry_materials = Carpentry materials
|metalwork_materials = Metalwork
|electrical_materials = Electrical
|farming_materials = Farming
|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.