Template:Navbox equipment: Difference between revisions

From PZwiki
m (minor)
m (No longer sandbox)
Line 13: Line 13:


==Usage==
==Usage==
{{tll|Navbox equipment/sandbox|tools}}
{{tll|Navbox equipment|tools}}
{{Navbox equipment/sandbox|tools}}
{{Navbox equipment|tools}}


{{tll|Navbox equipment/sandbox}}
{{tll|Navbox equipment}}
{{Navbox equipment/sandbox}}
{{Navbox equipment}}


{{Translation guide|<syntaxhighlight lang="html">
{{Translation guide|<syntaxhighlight lang="html">
Line 23: Line 23:
<!-- title -->
<!-- title -->
| equipment = Equipment
| equipment = Equipment
| containers= Containers
| containers = Containers
| tools = Tools
| tools = Tools
| household = Household
| household = Household

Revision as of 23:31, 16 March 2024

Notebook.pngTemplate Documentation

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

Parameters

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

  • containers
  • tools
  • household
  • electronics
  • survival

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

Usage

{{Navbox equipment|tools}}

{{Navbox equipment}}

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 -->
| equipment = Equipment
| containers = Containers
| tools = Tools
| household = Household
| electronics = Electronics
| survival = Survival
<!-- group -->
| handheld_containers = Handheld containers
| wearable_containers = Wearable containers
| water_containers = Water containers
| general_tools = General tools
| cooking_tools = Cooking tools
| gardening = Gardening
| cleaning = Cleaning
| stationary = Stationary
| security = Security
| general_electronics = General electronics
| communications = Communications
| other = Other
| camping = Camping
| fishing = Fishing
| trapping = Trapping
| light_sources = Light sources
<!-- list -->
| #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.