Difference between revisions of "Template:Biomes"

From blackwiki
Jump to navigation Jump to search
imported>Lophotrochozoa
(The continental shelf as a biome is called the neritic zone)
imported>Frietjes
(navbox subgroup syntax update)
Line 4: Line 4:
 
|listclass = hlist
 
|listclass = hlist
 
|state= {{{state|autocollapse}}}
 
|state= {{{state|autocollapse}}}
|titlestyle=background:#f0f0f0;
+
|basestyle=background:#f0f0f0;
 
|group1style=
 
|group1style=
 
|group1=[[Biome]]s
 
|group1=[[Biome]]s
|list1={{Navbox subgroup|
+
|list1={{Navbox|subgroup|
 
     |group1=Terrestrial<br />biomes
 
     |group1=Terrestrial<br />biomes
 
     |group1style=background:#329B32;
 
     |group1style=background:#329B32;
 
     |groupwidth=9em
 
     |groupwidth=9em
 
     |list1=
 
     |list1=
{{Navbox subgroup|
+
{{Navbox|subgroup|
 
     |group1=Polar/montane
 
     |group1=Polar/montane
 
     |group1style=background:#90A010;
 
     |group1style=background:#90A010;
Line 64: Line 64:
 
* [[Endolith|Endolithic zone]]
 
* [[Endolith|Endolithic zone]]
 
}}
 
}}
|group4style=background:#ddddff;
+
 
 
|group4= [[Biogeographic realm|Biogeographic <br> realms]]
 
|group4= [[Biogeographic realm|Biogeographic <br> realms]]
|list4={{Navbox subgroup|
+
|list4={{Navbox|subgroup|
 
     |group1=Terrestrial
 
     |group1=Terrestrial
 
     |group1style=background:#329B32;
 
     |group1style=background:#329B32;
Line 104: Line 104:
 
* [[Vegetation|Vegetation classifications]]
 
* [[Vegetation|Vegetation classifications]]
 
* [[Zoogeographic region]]s
 
* [[Zoogeographic region]]s
}}
+
}}<noinclude>
<noinclude>
+
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Ecology templates]]
 
[[Category:Ecology templates]]

Revision as of 23:05, 8 September 2017

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.