Template:Navbox construction: Difference between revisions
(Translation guide) |
m (Fix category) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 36: | Line 36: | ||
}} | }} | ||
{{ll|Category:Navbox}} | {{ll|Category:Navbox}} | ||
</noinclude><includeonly> | </noinclude><includeonly>{{Navbox | ||
{{Navbox | |||
| title = {{ll|:Category:Construction|{{tt|name=Navbox construction|default=Construction|arg1=construction}}}} | | title = {{ll|:Category:Construction|{{tt|name=Navbox construction|default=Construction|arg1=construction}}}} | ||
| collapsed = false | | collapsed = false | ||
| content = | | content = | ||
{{Navbox | {{Navbox | ||
| title = {{ll|:Category:Carpentry|{{tt|name= | | title = {{ll|:Category:Carpentry|{{tt|name=Navbox construction|default=Carpentry|arg1=carpentry}}}} | ||
| collapsed = {{#ifeq:{{lc:{{{1|}}}}}|carpentry|false|true}} | | collapsed = {{#ifeq:{{lc:{{{1|}}}}}|carpentry|false|true}} | ||
| content = | | content = | ||
Line 55: | Line 54: | ||
{{Navbox/row | {{Navbox/row | ||
| group = {{ll|:Category:Carpentry|{{tt|name=Navbox construction|default=Furniture|arg1=furniture}}}} | | group = {{ll|:Category:Carpentry|{{tt|name=Navbox construction|default=Furniture|arg1=furniture}}}} | ||
| list = {{ll|Rain Collector Barrel}} • {{ll|Wooden Crate}} • {{ll|Bed}} • {{ll|Bar Corner}} • {{ll|Bar Element}} • {{ll|Small Bookcase}} • {{ll|Bookcase}} • {{ll|Shelves}} • {{ll|Double Shelves}} • {{ll|Wooden Chair}} • {{ll|Small Table}} • {{ll|Large Table}} • {{ll|Table with Drawer}} • {{ll|Lamp on Pillar}} | | list = {{ll|Rain Collector Barrel}} • {{ll|Wooden Crate}} • {{ll|Bed}} • {{ll|Bar Corner}} • {{ll|Bar Element}} • {{ll|Small Bookcase}} • {{ll|Bookcase}} • {{ll|Shelves}} • {{ll|Double Shelves}} • {{ll|Wooden Chair}} • {{ll|Small Table}} • {{ll|Large Table}} • {{ll|Table with Drawer}} • {{ll|Composter}} • {{ll|Lamp on Pillar}} | ||
}} | }} | ||
{{Navbox/row | {{Navbox/row | ||
Line 64: | Line 63: | ||
}} | }} | ||
{{Navbox | {{Navbox | ||
| title = {{ll|:Category: | | title = {{ll|:Category:Metalwork|{{tt|name=Navbox construction|default=Metalworking|arg1=metalworking}}}} | ||
| collapsed = {{#ifeq:{{lc:{{{1|}}}}}|metalworking|false|true}} | | collapsed = {{#ifeq:{{lc:{{{1|}}}}}|metalworking|false|true}} | ||
| content = | | content = | ||
Line 78: | Line 77: | ||
| group = {{ll|:Category:Metalwork|{{tt|name=Navbox construction|default=Furniture|arg1=furniture}}}} | | group = {{ll|:Category:Metalwork|{{tt|name=Navbox construction|default=Furniture|arg1=furniture}}}} | ||
| list = | | list = | ||
{{ll|Big Locker}} • {{ll|Metal Counter}} • {{ll|Metal Counter Corner}} • {{ll|Metal Crate}} • {{ll|Metal Shelves | {{ll|Big Locker}} • {{ll|Metal Counter}} • {{ll|Metal Counter Corner}} • {{ll|Metal Crate}} • {{ll|Metal Shelves}} • {{ll|Small Locker}} | ||
}} | }} | ||
| id = navbox_metalworking | | id = navbox_metalworking | ||
}} | }} | ||
| id = | | id = navbox_construction | ||
}} | }}</includeonly> | ||
Revision as of 03:26, 18 March 2024
This template should be transcluded at the bottom of all construction pages.
Parameters
The parameters are based on the type of article. The usable parameters are;
carpentry
metalworking
The parameters are not case sensitive, but lowercase is recommended. Leaving parameters blank will result in both sub boxes remaining closed.
Usage
{{Navbox construction|carpentry}}
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 -->
| construction = Construction
| carpentry = Carpentry
| metalworking = Metalworking
<!-- group -->
| walls_and_entrances = Walls and entrances
| fences = Fences
| furniture = Furniture
| other = Other
<!-- 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.