Difference between revisions of "Template:Extinction"

From blackwiki
Jump to navigation Jump to search
imported>Animalparty
(added Background extinction rate to phenomenon, an important element in identifying mass exctinctions.)
imported>Sardanaphalus
(state handling, image alt, below formatting, category, index)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Extinction
+
| name = Extinction
|title = [[Extinction]]
+
| state = {{{state<includeonly>|{{{1|autocollapse}}}</includeonly>}}}
|image = [[File:Bufo periglenes2.jpg|140px]]
+
| title = [[Extinction]]
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
+
| image = [[File:Bufo periglenes2.jpg|140px|The species Bufo periglenes (Golden Toad) was last reported in 1989]]
|listclass = hlist
+
| listclass = hlist
  
|group1 = Phenomena
+
| group1 = Phenomena
|list1 =  
+
| list1 =
 
*[[Background extinction rate]]
 
*[[Background extinction rate]]
 
*[[Coextinction]]
 
*[[Coextinction]]
Line 17: Line 17:
 
*[[Pseudoextinction]]
 
*[[Pseudoextinction]]
  
|group2 = Models
+
| group2 = Models
|list2 =  
+
| list2 =
 
*[[Extinction vortex]]
 
*[[Extinction vortex]]
  
|group3 = Causes
+
| group3 = Causes
|list3 =  
+
| list3 =
 
*[[Genetic erosion]]
 
*[[Genetic erosion]]
 
*[[Habitat destruction]]
 
*[[Habitat destruction]]
Line 29: Line 29:
 
*[[Overexploitation]]
 
*[[Overexploitation]]
  
|group4 = Theories<br />and concepts
+
| group4 = Theories and<br/>concepts
|list4 =  
+
| list4 =
 
*[[De-extinction]]
 
*[[De-extinction]]
 
*[[Hypothetical species]]
 
*[[Hypothetical species]]
 
*[[Extinction risk from global warming]]
 
*[[Extinction risk from global warming]]
  
|group5 = [[Extinction event]]s
+
| group5 = [[Extinction event]]s
|list5 =  
+
| list5 =
 
*[[Timeline of extinctions]]
 
*[[Timeline of extinctions]]
 
*[[Cretaceous–Paleogene extinction event|Cretaceous–Paleogene]]
 
*[[Cretaceous–Paleogene extinction event|Cretaceous–Paleogene]]
Line 46: Line 46:
 
*[[Quaternary extinction event|Quaternary]]
 
*[[Quaternary extinction event|Quaternary]]
  
|group6 = [[:Category:Extinct species|Extinct species]]
+
| group6 = [[:Category:Extinct species|Extinct species]]
|list6 =  
+
| list6 =
 
*[[Lists of extinct species]]
 
*[[Lists of extinct species]]
 
*[[List of extinct plants]]
 
*[[List of extinct plants]]
 
*[[:Category:IUCN Red List extinct species|IUCN Red List extinct species]]
 
*[[:Category:IUCN Red List extinct species|IUCN Red List extinct species]]
  
|group7 = Organizations
+
| group7 = Organizations
|list7 =  
+
| list7 =
 
*[[International Union for Conservation of Nature]]
 
*[[International Union for Conservation of Nature]]
 
*[[IUCN Species Survival Commission]]
 
*[[IUCN Species Survival Commission]]
  
|belowclass = hlist
+
| belowstyle = font-weight:bold;
|below = {{icon|category}} '''[[:Category:Extinction|Category]]'''&nbsp;&nbsp;&nbsp;&nbsp;[[File:Commons-logo.svg|16x16px|link = |alt = ]] '''[[commons:Category:Extinction|Commons]]'''&nbsp;&nbsp;&nbsp;&nbsp;{{icon|wikiproject}}'''[[Wikipedia:WikiProject Extinction|WikiProject]]'''&nbsp;&nbsp;&nbsp;&nbsp;{{icon|portal}} '''[[Portal:Extinct and endangered species|Portal]]'''
+
| below =
}}<noinclude>{{doc|content=
+
{{nowrap
{{collapsible option}}}}
+
  | <!--Internal:
[[Category:Extinction]]</noinclude>
+
  -->{{icon|Category}} [[:Category:Extinction|Category]]{{nbsp|4}}<!--
 +
  -->{{icon|Portal}}  [[Portal:Extinct and endangered species|Portal]]{{nbsp|4}}<!--
 +
  -->{{icon|Wikiproject}} [[Wikipedia:WikiProject Extinction|WikiProject]]{{nbsp|4}}<!--
 +
        External:
 +
  -->{{icon|Commons}} [[commons:Category:Extinction|Commons]]
 +
}}
 +
 
 +
}}<noinclude>
 +
{{Documentation
 +
| content =
 +
{{Collapsible option |statename=optional}}
 +
}}
 +
 
 +
[[Category:Biology templates]]
 +
[[Category:Extinction]]
 +
</noinclude>

Revision as of 19:29, 20 June 2014

Initial visibility: currently defaults to autocollapse

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

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