Difference between revisions of "Template:Entomology"

From blackwiki
Jump to navigation Jump to search
imported>Bfpage
(Fixing style/layout errors)
imported>Hanif Al Husaini
(Fix link)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
 
|name = Entomology
 
|name = Entomology
|state = collapsed
+
|state = <includeonly>collapsed</includeonly>
 
|title = [[Entomology]]
 
|title = [[Entomology]]
|titlestyle = background:#85E085;color:black;
+
|bodyclass = hlist
|groupstyle = background:#9DE69D;color:black;
+
|selected = {{{1|}}}
|listclass = hlist
+
 
 +
|basestyle = background:#85E085;color:black;
 
|image =  
 
|image =  
|selected = {{{1|}}}
+
 +
|above =
 +
* [[Timeline of entomology|Timeline]]
  
 
|group1 = Branches of Entomology
 
|group1 = Branches of Entomology
Line 15: Line 18:
 
*[[Coleopterology]]
 
*[[Coleopterology]]
 
*[[Dipterology]]
 
*[[Dipterology]]
 +
*[[Human interactions with insects|Ethnoentomology]]
 
*[[Heteropterology]]
 
*[[Heteropterology]]
 
*[[Hemipterology]]
 
*[[Hemipterology]]
Line 27: Line 31:
  
 
|group2 = Entomology Organisations
 
|group2 = Entomology Organisations
|list2  = {{Navbox subgroup
+
|list2  = {{Navbox|subgroup
|groupstyle = width:7em;background:#B1EBB1;color:black;#A3D1A3
+
|groupwidth = 7em| groupstyle = background:#B1EBB1;color:black;#A3D1A3
|liststyle = width:auto;
 
 
|group1 = Africa
 
|group1 = Africa
 
|list1  =  
 
|list1  =  
Line 62: Line 65:
 
*[[International Entomological Society]]
 
*[[International Entomological Society]]
 
*[[International Union for the Study of Social Insects]]
 
*[[International Union for the Study of Social Insects]]
}}
 
 
}}
 
}}
  
 +
| below =
 +
* {{icon|category}}'''[[:Category:Entomology|Category]]'''
 +
* {{icon|commons}} '''[[commons:Category:Entomology|Commons]]'''
 +
* {{Icon|WikiProject}} '''[[Wikipedia:WikiProject Insects|WikiProject]]'''
  
<noinclude>
+
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
  
 
[[Category:Insects navigational boxes|Lepidoptera]]
 
[[Category:Insects navigational boxes|Lepidoptera]]
 
+
[[Category:Entomology|*]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:03, 5 February 2020

Initial visibility: currently defaults to autocollapse

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

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