Template:Navbox construction: Difference between revisions
(Update to new Navbox style) |
(Translation guide) |
||
Line 20: | Line 20: | ||
<!-- title --> | <!-- title --> | ||
| construction = Construction | | construction = Construction | ||
| carpentry = Carpentry | |||
| metalworking = Metalworking | |||
<!-- group --> | <!-- group --> | ||
| | | walls_and_entrances = Walls and entrances | ||
| | | fences = Fences | ||
| | | furniture = Furniture | ||
| other = Other | |||
<!-- list --> | <!-- list --> | ||
| #default = [[Category:Incorrect template usage]] | | #default = [[Category:Incorrect template usage]] | ||
}} | }} | ||
Line 45: | Line 46: | ||
| content = | | content = | ||
{{Navbox/row | {{Navbox/row | ||
| group = {{ll|:Category:Construction|{{tt|name=Navbox construction|default=Walls and entrances|arg1= | | group = {{ll|:Category:Construction|{{tt|name=Navbox construction|default=Walls and entrances|arg1=walls_and_entrances}}}} | ||
| list = {{ll|Log Wall}} • {{ll|Wooden Wall Frame}} • {{ll|Wooden Wall}} • {{ll|Wooden Doorframe}} • {{ll|Wooden Window}} • {{ll|Wooden Floor}} • {{ll|Door}} • {{ll|Wood Stairs}} | | list = {{ll|Log Wall}} • {{ll|Wooden Wall Frame}} • {{ll|Wooden Wall}} • {{ll|Wooden Doorframe}} • {{ll|Wooden Window}} • {{ll|Wooden Floor}} • {{ll|Door}} • {{ll|Wood Stairs}} | ||
}} | }} | ||
Line 67: | Line 68: | ||
| content = | | content = | ||
{{Navbox/row | {{Navbox/row | ||
| group = {{ll|:Category:Construction|{{tt|name=Navbox construction|default=Walls and entrances|arg1= | | group = {{ll|:Category:Construction|{{tt|name=Navbox construction|default=Walls and entrances|arg1=walls_and_entrances}}}} | ||
| list = {{ll|Metal Wall}} • {{ll|Metal Wall Frame}} • {{ll|Metal Roof}} • {{ll|Metal Window}} | | list = {{ll|Metal Wall}} • {{ll|Metal Wall Frame}} • {{ll|Metal Roof}} • {{ll|Metal Window}} | ||
}} | }} |
Revision as of 07:42, 10 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.
See also
</includeonly>