Template:Navbox equipment: Difference between revisions
m (updated id) |
(added "Fishing" group) |
||
Line 9: | Line 9: | ||
{{Translation guide|<syntaxhighlight lang="html"> | {{Translation guide|<syntaxhighlight lang="html"> | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
<!-- Title --> | |||
| equipment = Equipment | |||
<!-- Groups --> | |||
| container = Container | | container = Container | ||
| handheld = Handheld | | handheld = Handheld | ||
Line 24: | Line 27: | ||
| camping = Camping | | camping = Camping | ||
| trapping = Trapping | | trapping = Trapping | ||
| fishing = Fishing | |||
| electronics = Electronics | | electronics = Electronics | ||
| general-electronics = General | | general-electronics = General | ||
| communications = Communications | | communications = Communications | ||
| security = Security | | security = Security | ||
| #default = [[Category:Incorrect template usage]] | | #default = [[Category:Incorrect template usage]] | ||
Line 38: | Line 41: | ||
}} | }} | ||
{{ll|Category:Navbox}}</noinclude><includeonly>{{Navbox | {{ll|Category:Navbox}}</noinclude><includeonly>{{Navbox | ||
| title = {{ll|:Category:Tools|Equipment}} | | title = {{ll|:Category:Tools|{{tt|name=Navbox equipment|default=Equipment|arg1=equipment}}}} | ||
| content = {{Navbox/row | | content = {{Navbox/row | ||
| group = {{tt|name=Navbox equipment|default=Container|arg1=container}} | | group = {{tt|name=Navbox equipment|default=Container|arg1=container}} | ||
Line 81: | Line 84: | ||
| group = {{tt|name=Navbox equipment|default=Camping|arg1=camping}} | | group = {{tt|name=Navbox equipment|default=Camping|arg1=camping}} | ||
| list = {{ll|Campfire Materials}} • {{ll|Notched Wooden Plank}} • {{ll|Tent Kit}} | | list = {{ll|Campfire Materials}} • {{ll|Notched Wooden Plank}} • {{ll|Tent Kit}} | ||
}}{{Navbox/row | |||
| group = {{tt|name=Navbox equipment|default=Fishing|arg1=fishing}} | |||
| list = {{ll|Fishing Net Trap}} • {{ll|Fishing Rod}} • {{ll|Fishing Rod (crafted)}} | |||
}}{{Navbox/row | }}{{Navbox/row | ||
| group = {{tt|name=Navbox equipment|default=Trapping|arg1=trapping}} | | group = {{tt|name=Navbox equipment|default=Trapping|arg1=trapping}} |
Revision as of 12:08, 6 January 2024
This template should be transcluded at the bottom of all equipment pages.
Usage
{{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
<!-- Groups -->
| container = Container
| handheld = Handheld
| wearable = Wearable
| water_containers = Water containers
| light_sources = Light sources
| tools = Tools
| general-tools = General
| cooking = Cooking
| gardening = Gardening
| household = Household
| cleaning = Cleaning
| stationery = Stationery
| other = Other
| camping = Camping
| trapping = Trapping
| fishing = Fishing
| electronics = Electronics
| general-electronics = General
| communications = Communications
| security = Security
| #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.