Difference between revisions of "Template:Biology nav"

From blackwiki
Jump to navigation Jump to search
imported>JimGrassroot
imported>Cobaltcigs
(these links should not appear in article space)
Line 11: Line 11:
 
* Introduction ([[Introduction to genetics|Genetics]], [[Introduction to evolution|Evolution]])
 
* Introduction ([[Introduction to genetics|Genetics]], [[Introduction to evolution|Evolution]])
 
* [[Outline of biology|Outline]]
 
* [[Outline of biology|Outline]]
* [[History of biology|History]] ({{icon|Template|size=12px}} [[Template:History of biology|template]])
+
* [[History of biology|History]] <noinclude>({{icon|Template|size=12px}} [[Template:History of biology|template]])</noinclude>
 
* [[Timeline of biology and organic chemistry|Timeline]]
 
* [[Timeline of biology and organic chemistry|Timeline]]
 
* [[Index of biology articles|Index]]
 
* [[Index of biology articles|Index]]
Line 140: Line 140:
  
 
  | below =
 
  | below =
* {{icon|category}}'''[[:Category:Biology|Category]]'''
+
* {{icon|category}} '''[[:Category:Biology|Category]]'''
 
* {{icon|commons}} '''[[commons:Category:Biology|Commons]]'''
 
* {{icon|commons}} '''[[commons:Category:Biology|Commons]]'''
* {{icon|portal}}'''[[Portal:Biology|Portal]]'''
+
* {{icon|portal}} '''[[Portal:Biology|Portal]]'''
* {{Icon|WikiProject}} '''[[Wikipedia:WikiProject Biology|WikiProject]]'''
+
<noinclude>* {{Icon|WikiProject}} '''[[Wikipedia:WikiProject Biology|WikiProject]]'''</noinclude>
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 12:23, 17 November 2019

Initial visibility: currently defaults to autocollapse

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

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