Difference between revisions of "Template:Hymenoptera"

From blackwiki
Jump to navigation Jump to search
imported>Trilletrollet
(Removed the "abbr" and "selected" parameters since they're no longer needed.)
imported>Trilletrollet
(spheciformes now has the correct background colour)
Line 183: Line 183:
 
   |group8 = [[Apoidea]]  
 
   |group8 = [[Apoidea]]  
 
   |list8  ={{Navbox|subgroup
 
   |list8  ={{Navbox|subgroup
   |groupstyle = background:#f7f7ff;
+
   |groupstyle = background:#fdfdfd
 +
  |groupwidth = 7em
 
   |group1 = ''[[Spheciformes]]''<br/><small><span style="color:#696969">{{Nobold|(sphecoid wasps)}}</span></small>
 
   |group1 = ''[[Spheciformes]]''<br/><small><span style="color:#696969">{{Nobold|(sphecoid wasps)}}</span></small>
 
   |list1  =
 
   |list1  =
Line 196: Line 197:
 
*[[Psenidae]]
 
*[[Psenidae]]
 
*[[Sphecidae|Sphecidae <small>(thread-waisted wasps)</small>]]
 
*[[Sphecidae|Sphecidae <small>(thread-waisted wasps)</small>]]
  |group2 = [[Bee|Anthophila]]<br/><small><span style="color:#696969">{{Nobold|(bees)}}</span></small>
+
  }}
  |list2  =
+
  {{Navbox|subgroup
 +
  |groupstyle = background:#f7f7f7
 +
  |groupwidth = 7em
 +
  |group2 = [[Bee|Anthophila]]<br/><small><span style="color:#696969">{{Nobold|(bees)}}</span></small>
 +
  |list2  =
 
*[[Andrenidae|Andrenidae <small>(mason bees)</small>]]
 
*[[Andrenidae|Andrenidae <small>(mason bees)</small>]]
 
*[[Apidae]] <small>([[honey bee]]s, [[bumblebee]]s, [[cuckoo bee]]s, [[carpenter bee]]s, [[orchid bee]]s, [[stingless bee]]s)</small>
 
*[[Apidae]] <small>([[honey bee]]s, [[bumblebee]]s, [[cuckoo bee]]s, [[carpenter bee]]s, [[orchid bee]]s, [[stingless bee]]s)</small>

Revision as of 19:49, 9 April 2020

Initial visibility: currently defaults to autocollapse

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

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