Template:Metalworking navbox
|
How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:
|state=collapsed
to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g.{{Metalworking navbox |state=collapsed}}
|state=expanded
to show the template in its expanded state, i.e. fully visible – e.g.{{Metalworking navbox |state=expanded}}
|state=autocollapse
to show the template in its collapsed state but only if there is another template of the same type on the page – e.g.{{Metalworking navbox |state=autocollapse}}
Unless set otherwise (see the |state=
parameter in the template's code), the template's default state is autocollapse
.
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
orcastopen
includes the subpage on casting.form
orformopen
includes the subpage on forming, fabrication, and finishing.mach
ormachopen
includes the subpage on machining and computer aided metalworking.smith
orsmithopen
includes the subpage on smithing.tool
ortoolopen
includes the subpage on tools.weld
orweldopen
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]
- {{Metalworking navbox/all}} is a quick way to include all of the subpages.
- {{Metalworking navbox/cast}} lists pages related to casting.
- {{Metalworking navbox/form}} lists pages related to forming, fabrication, and finishing.
- {{Metalworking navbox/mach}} lists pages related to machining and computer aided metalworking.
- {{Metalworking navbox/smith}} lists pages related to smithing.
- {{Metalworking navbox/tool}} lists pages related to tools.
- {{Metalworking navbox/weld}} lists pages related to welding.
See also[edit]
The above documentation is transcluded from Template:Metalworking navbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |