Template:Navbox equipment: Difference between revisions
(Deploy updated navbox from sandbox) |
m (corrected `stationery` in translation guide) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Documentation/sandbox|doc= | {{Documentation/sandbox|doc= | ||
This template should be transcluded at the bottom of all | This template should be transcluded at the bottom of all [[equipment]] pages. | ||
==Parameters== | ==Parameters== | ||
The parameters are based on the type of article. The usable parameters are | The parameters are based on the type of article. The usable parameters are: | ||
*<code>containers</code> | *<code>containers</code> | ||
*<code>tools</code> | *<code>tools</code> | ||
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>}} | ||
==See also== | ==See also== | ||
{{ | {{Navbox see also}} | ||
}} | }} | ||
{{ll|Category:Navbox}}</noinclude><includeonly> | {{ll|Category:Navbox}} | ||
{{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 73: | Line 73: | ||
{{Navbox/row | {{Navbox/row | ||
| group = {{ll|:Category:Water containers|{{tt|name=Navbox equipment|default=Water|arg1=water_containers}}}} | | group = {{ll|:Category:Water containers|{{tt|name=Navbox equipment|default=Water|arg1=water_containers}}}} | ||
| list = {{ll|Bottle with Water (Bleach)}} • {{ll|Bowl}} • {{ll|Bucket}} • {{ll|Cooking Pot}} • {{ll|Empty Mug}} • {{ll|Gardening Spray Can}} • {{ll|Kettle}} • {{ll| | | list = {{ll|Bottle with Water (Bleach)}} • {{ll|Bowl}} • {{ll|Bucket}} • {{ll|Cooking Pot}} • {{ll|Empty Mug}} • {{ll|Gardening Spray Can}} • {{ll|Kettle}} • {{ll|Paint Bucket}} • {{ll|Plastic Cup}} • {{ll|Saucepan}} • {{ll|Teacup}} • {{ll|Tumbler}} • {{ll|Water Bottle}} • {{ll|Water Bottle (Beer)}} • {{ll|Water Bottle (Bourbon)}} • {{ll|Water Bottle (Mayonnaise)}} • {{ll|Water Bottle (Orange Soda)}} • {{ll|Water Bottle (Remoulade)}} • {{ll|Water Bottle (White Wine)}} • {{ll|Watering Can}} • {{ll|Wine Glass}} | ||
}} | }} | ||
| id = navbox_containers | | id = navbox_containers | ||
Line 119: | Line 119: | ||
{{Navbox | {{Navbox | ||
| title = {{ll|:Category:Electronics|{{tt|name=Navbox equipment|default=Electronics|arg1=electronics}}}} | | title = {{ll|:Category:Electronics|{{tt|name=Navbox equipment|default=Electronics|arg1=electronics}}}} | ||
| collapsed = {{#ifeq:{{lc:{{{1|}}}}}| | | collapsed = {{#ifeq:{{lc:{{{1|}}}}}|electronics|false|true}} | ||
| content = | | content = | ||
{{Navbox/row | {{Navbox/row | ||
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.