Difference between revisions of "Template:Engineering fields"

From blackwiki
Jump to navigation Jump to search
imported>Fnlayson
(Replace red link with Engineering mathematics which seems more common)
imported>Jerryobject
m (WP:TABLE title section MOS:HEADing word repeats, shrink layout via WP:PIPEs.)
Line 5: Line 5:
 
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
  
  | group1 = [[Civil engineering]]
+
  | group1 = [[Civil engineering|Civil]]
 
  | list1 =
 
  | list1 =
 
* [[Architectural engineering|Architectural]]
 
* [[Architectural engineering|Architectural]]
Line 17: Line 17:
 
* [[Environmental engineering|Environmental]]
 
* [[Environmental engineering|Environmental]]
  
  | group2 = [[Mechanical engineering]]
+
  | group2 = [[Mechanical engineering|Mechanical]]
 
  | list2 =
 
  | list2 =
 
* [[Aerospace engineering|Aerospace]]
 
* [[Aerospace engineering|Aerospace]]
Line 26: Line 26:
 
* [[Railway engineering|Railway]]
 
* [[Railway engineering|Railway]]
  
  | group3 = [[Electrical engineering]]
+
  | group3 = [[Electrical engineering|Electrical]]
 
  | list3 =
 
  | list3 =
 
* [[Computer engineering|Computer]]
 
* [[Computer engineering|Computer]]
Line 38: Line 38:
 
* [[Radio-frequency engineering|Radio Frequency]]
 
* [[Radio-frequency engineering|Radio Frequency]]
  
  | group4 = [[Chemical engineering]]
+
  | group4 = [[Chemical engineering|Chemical]]
 
  | list4 =
 
  | list4 =
 
* [[Biochemical engineering|Biochemical]]
 
* [[Biochemical engineering|Biochemical]]

Revision as of 06:03, 6 October 2016

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.