Difference between revisions of "Template:Engineering fields"

From blackwiki
Jump to navigation Jump to search
imported>Bonnie13J
imported>Omanyd
Line 2: Line 2:
 
  | name = Engineering fields
 
  | name = Engineering fields
 
  | title = [[Engineering]]
 
  | title = [[Engineering]]
 +
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
 +
 +
| titlestyle = {{{titlestyle|}}}
 +
| listclass = hlist
 
  | bodyclass = hlist
 
  | bodyclass = hlist
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
+
  | image = [[File:Nuvola apps kfig.svg|50px|]]<br />
  
 
  | group1 = [[Civil engineering|Civil]]
 
  | group1 = [[Civil engineering|Civil]]
Line 25: Line 29:
 
* [[Railway engineering|Railway]]
 
* [[Railway engineering|Railway]]
 
* [[Thermal engineering|Thermal]]
 
* [[Thermal engineering|Thermal]]
 +
 
  | group3 = [[Electrical engineering|Electrical]]
 
  | group3 = [[Electrical engineering|Electrical]]
 
  | list3 =
 
  | list3 =
Line 35: Line 40:
 
* [[Radio-frequency engineering|Radio Frequency]]
 
* [[Radio-frequency engineering|Radio Frequency]]
 
* [[Telecommunications engineering|Telecommunications]]
 
* [[Telecommunications engineering|Telecommunications]]
 +
 
  | group4 = [[Chemical engineering|Chemical]]
 
  | group4 = [[Chemical engineering|Chemical]]
 
  | list4 =
 
  | list4 =

Revision as of 22:23, 13 August 2019

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Engineering fields|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Engineering fields|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Engineering fields|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.