Template:Metalworking navbox/doc

Jump to navigation Jump to search


Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Metalworking navbox|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Metalworking navbox|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Metalworking navbox|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

Usage[edit source]

This is a navigation template for pages relating to the topic of Metalworking. It can be configured in multiple ways using parameters separated by a vertical pipe ( | ).

The parameter all builds the template with all five subpages.

The following parameters may be listed up to five deep in any combination. Adding open to any of these parameters, for example castopen, will cause the correlating subsection to be displayed uncollapsed.

  • cast or castopen includes the subpage on casting.
  • form or formopen includes the subpage on forming, fabrication, and finishing.
  • mach or machopen includes the subpage on machining and computer aided metalworking.
  • smith or smithopen includes the subpage on smithing.
  • tool or toolopen includes the subpage on tools.
  • weld or weldopen includes the subpage on welding.

Examples[edit source]

{{Metalworking navbox}}

{{Metalworking navbox|all}} or {{Metalworking navbox|cast|form|mach|smith|tool|weld}}

{{Metalworking navbox|castopen|form}}

{{Metalworking navbox|cast|form|machopen|tool|weld}}

Subpages[edit source]

External links[edit source]