Template:Navbox construction: Difference between revisions

From PZwiki
m (rm newline)
m (Fix category)
Line 63: Line 63:
   }}
   }}
   {{Navbox
   {{Navbox
   | title = {{ll|:Category:Metalworking|{{tt|name=Navbox construction|default=Metalworking|arg1=metalworking}}}}
   | 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 =  

Revision as of 03:26, 18 March 2024

Notebook.pngTemplate Documentation

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}}

{{Navbox construction}}

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

Editors can experiment in this template's sandbox.