Template:Navbox equipment: Difference between revisions
m (Update navbox ID) |
m (changed "equipment" link and added error template to translation guide) |
||
Line 46: | Line 46: | ||
| light_sources = Light sources | | light_sources = Light sources | ||
<!-- list --> | <!-- list --> | ||
| #default = | | #default = {{Error|translation}} | ||
}} | }} | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
Line 56: | Line 56: | ||
{{ll|Category:Navbox}} | {{ll|Category:Navbox}} | ||
</noinclude><includeonly>{{Navbox | </noinclude><includeonly>{{Navbox | ||
| title = {{ll|:Category: | | title = {{ll|:Category:Equipment|{{tt|name=Navbox equipment|default=Equipment|arg1=equipment}}}} | ||
| collapsed = false | | collapsed = false | ||
| content = | | content = |
Revision as of 10:10, 19 March 2024
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 = {{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.