Difference between revisions of "Template:Botany"

From blackwiki
Jump to navigation Jump to search
imported>Neutral0814
m (bg color: made base lighter than the title; giving it contrast like the default bg)
imported>Neutral0814
m (another bg contrast for subgroups)
 
Line 39: Line 39:
 
  | group3 = {{longitem|style=line-height:1.2em|[[Plant morphology]]<br />{{nobold|([[Glossary of plant morphology|glossary]])}}}}
 
  | group3 = {{longitem|style=line-height:1.2em|[[Plant morphology]]<br />{{nobold|([[Glossary of plant morphology|glossary]])}}}}
 
  | list3 = {{Navbox|child
 
  | list3 = {{Navbox|child
   | basestyle = background: #C3EEC3;
+
   | basestyle = background: #D4EED4;
 
   | group1 = [[Plant cell]]s
 
   | group1 = [[Plant cell]]s
 
   | list1 =
 
   | list1 =

Latest revision as of 05:18, 18 September 2020

Initial visibility: currently defaults to autocollapse

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

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