Difference between revisions of "Template:Biomes"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(fmt biogeographic realms. re-organize. This navbox expansion is probably not a good idea, see WP:BIDIRECTIONAL)
imported>Hike395
(align groups)
Line 10: Line 10:
 
     |group1=Terrestrial<br />biomes
 
     |group1=Terrestrial<br />biomes
 
     |group1style=background:#329B32;
 
     |group1style=background:#329B32;
 +
    |groupwidth=9em
 
     |list1=
 
     |list1=
 
{{Navbox subgroup|
 
{{Navbox subgroup|
Line 69: Line 70:
 
     |group1=Terrestrial
 
     |group1=Terrestrial
 
     |group1style=background:#329B32;
 
     |group1style=background:#329B32;
 +
    |groupwidth=9em
 
     |list1=
 
     |list1=
 
* [[Afrotropic ecozone|Afrotropic]]
 
* [[Afrotropic ecozone|Afrotropic]]

Revision as of 04:40, 21 September 2016

Initial visibility: currently defaults to autocollapse

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

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