Template:Navbox equipment: Difference between revisions
m (minor) |
m (corrected `stationery` in translation guide) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 13: | Line 13: | ||
==Usage== | ==Usage== | ||
{{tll|Navbox equipment | {{tll|Navbox equipment|tools}} | ||
{{Navbox | {{Navbox equipment|tools}} | ||
{{tll|Navbox equipment | {{tll|Navbox equipment}} | ||
{{Navbox equipment | {{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 | ||
Line 36: | Line 36: | ||
| gardening = Gardening | | gardening = Gardening | ||
| cleaning = Cleaning | | cleaning = Cleaning | ||
| | | stationery = Stationery | ||
| security = Security | | security = Security | ||
| general_electronics = General electronics | | general_electronics = General electronics | ||
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 = | ||
Line 153: | Line 153: | ||
| id = navbox_survival | | id = navbox_survival | ||
}} | }} | ||
| id = | | id = navbox_equipment | ||
}}</includeonly> | }}</includeonly> |
Revision as of 10:16, 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
| stationery = Stationery
| 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.