Difference between revisions of "Template:Functional groups"

From blackwiki
Jump to navigation Jump to search
imported>Christian75
(Direct link fix)
imported>Frietjes
Line 5: Line 5:
 
  | listclass = hlist
 
  | listclass = hlist
 
  | list1 =
 
  | list1 =
   {{navbox subgroups
+
   {{navbox|subgroup
 
   | group1 = Only carbon,<br/>hydrogen<br />and oxygen
 
   | group1 = Only carbon,<br/>hydrogen<br />and oxygen
 
   | list1 =
 
   | list1 =
     {{navbox subgroups
+
     {{navbox|subgroup
 
     | group1 = Hydrocarbons
 
     | group1 = Hydrocarbons
 
     | list1 =
 
     | list1 =
Line 48: Line 48:
 
   | group2 = Only one<br />element<br />apart from<br />C, H, O
 
   | group2 = Only one<br />element<br />apart from<br />C, H, O
 
   | list2 =
 
   | list2 =
     {{navbox subgroups
+
     {{navbox|subgroup
 
     | group1 = Nitrogen
 
     | group1 = Nitrogen
 
     | list1 =
 
     | list1 =

Revision as of 15:51, 20 July 2017

Initial visibility: currently defaults to autocollapse

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

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