Template:Metalworking navbox

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Initial visibility

To set the 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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.

Template documentation[view] [edit] [history] [purge]

Usage[edit]

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]

{{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]

See also[edit]