Difference between revisions of "Template:Birds"

From blackwiki
Jump to navigation Jump to search
imported>Shyamal
(Remove word breaks from a later revision)
imported>Shyamal
(add groupwidths as suggested by IP on talk page)
Line 88: Line 88:
 
       | group1 = [[Anseriformes|Anseriformes]]  <br /> {{small|([[waterfowl]]s)}}
 
       | group1 = [[Anseriformes|Anseriformes]]  <br /> {{small|([[waterfowl]]s)}}
 
       | list1 ={{navbox|child
 
       | list1 ={{navbox|child
 +
| groupwidth = 9.4em
 
         | group1 = [[Anatidae]]
 
         | group1 = [[Anatidae]]
 
         | list1 =
 
         | list1 =
Line 116: Line 117:
 
       | group2 = [[Galliformes|Galliformes]] <br />  {{small|([[landfowl]]s-}} <br /> {{small|[[gamebirds]])}}
 
       | group2 = [[Galliformes|Galliformes]] <br />  {{small|([[landfowl]]s-}} <br /> {{small|[[gamebirds]])}}
 
       | list2 ={{navbox|child
 
       | list2 ={{navbox|child
 +
| groupwidth = 9.4em
 
         | group1 = [[Cracidae]]  
 
         | group1 = [[Cracidae]]  
 
         | list1 =
 
         | list1 =
Line 165: Line 167:
 
     | group2 = [[Neoaves]]
 
     | group2 = [[Neoaves]]
 
     | list2 ={{navbox|child
 
     | list2 ={{navbox|child
 +
| groupwidth = 6.4em
 
       | group1 = [[Columbea]]  
 
       | group1 = [[Columbea]]  
 
       | list1 ={{navbox|child  
 
       | list1 ={{navbox|child  
 +
| groupwidth = 9.4em
 
         | group1 = [[Columbimorphae|Columbimorphae]]  
 
         | group1 = [[Columbimorphae|Columbimorphae]]  
 
         | list1 =  
 
         | list1 =  

Revision as of 05:02, 23 December 2015

Initial visibility: currently defaults to autocollapse

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

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