Difference between revisions of "Template:Heat engines"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
m (Redirect bypass from Split-single to Split-single engine using popups)
imported>Paine Ellsworth
(include doc and state= parameter)
 
Line 2: Line 2:
 
|name=Heat engines
 
|name=Heat engines
 
|title=[[Heat engine]]s
 
|title=[[Heat engine]]s
 +
|state={{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|titlestyle=background:#F0DC82;
 
|titlestyle=background:#F0DC82;
Line 35: Line 36:
 
|belowstyle=background:#F0DC82;
 
|belowstyle=background:#F0DC82;
 
|below=[[Thermodynamic cycle]]
 
|below=[[Thermodynamic cycle]]
 +
 
}}<noinclude>
 
}}<noinclude>
 +
{{Documentation|content=
 +
{{Collapsible option}}
 
[[Category:Technology and applied science templates|Heat engines]]
 
[[Category:Technology and applied science templates|Heat engines]]
</noinclude>
+
 
 +
}}</noinclude>

Latest revision as of 23:03, 17 April 2020

Template documentation

Initial visibility: currently defaults to autocollapse

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

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