Template:Taxobox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Kim van der Linde
(Extended wikipedia version, which includes many nice features)
imported>Chris Day
m (Reverted edits by Chris Day (Talk) to last version by Marielle Fields Newsome)
 
(23 intermediate revisions by 4 users not shown)
Line 12: Line 12:
{{#if:{{{status|}}}|<div style="text-align:center">{{#switch:{{{status}}}
{{#if:{{{status|}}}|<div style="text-align:center">{{#switch:{{{status}}}
   |SE|se|SECURE|Secure|secure=Secure
   |SE|se|SECURE|Secure|secure=Secure
   |DOM|dom|DOMESTICATED|Domesticated|domesticated=Domesticated {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Domesticated animals]]}}} | }}
   |DOM|dom|DOMESTICATED|Domesticated|domesticated=Domesticated {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |DD|dd=Data deficient
   |DD|dd=Data deficient
   |NE|ne=''Not evaluated''
   |NE|ne=''Not evaluated''
   |LR|lr=[[Image:Status iucn2.3 blank.svg]]<br />Lower risk {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Invalid conservation status]]}}} | }}
  |NR|nr=''Not recognized''
   |LC|lc=[[Image:Status {{{status_system|iucn3.1}}} LC.svg|200px]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Least Concern species]]}}} | }}
   |LR|lr=[[Image:Status iucn2.3 blank.svg]]<br />Lower risk {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | }}
   |LR/lc|lr/lc|LR/LC=[[Image:Status {{{status_system|iucn2.3}}} LC.svg|200px]]<br />[[Least concern]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Least Concern species]]}}} | }}
   |LC|lc=[[Image:Status {{{status_system|iucn3.1}}} LC.svg|200px]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}}| }}
   |NT|nt=[[Image:Status {{{status_system|iucn3.1}}} NT.svg|200px]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Near Threatened species]]}}} | }}
   |LR/lc|lr/lc|LR/LC=[[Image:Status {{{status_system|iucn2.3}}} LC.svg|200px]]<br />[[Least Concern]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |LR/nt|lr/nt=[[Image:Status {{{status_system|iucn2.3}}} NT.svg|200px]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Near Threatened species]]}}} | }}
   |NT|nt=[[Image:Status {{{status_system|iucn3.1}}} NT.svg|200px]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |LR/nt|lr/nt=[[Image:Status {{{status_system|iucn2.3}}} NT.svg|200px]]<br />[[Near Threatened]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |LR/cd|lr/cd=[[Image:Status {{{status_system|iucn2.3}}} CD.svg|200px]]<br />[[Conservation Dependent]]
   |LR/cd|lr/cd=[[Image:Status {{{status_system|iucn2.3}}} CD.svg|200px]]<br />[[Conservation Dependent]]
   |CD|cd=[[Image:Status {{{status_system|EPBC}}} CD.svg|200px]]<br />[[Conservation Dependent]]
   |CD|cd=[[Image:Status {{{status_system|EPBC}}} CD.svg|200px]]<br />[[Conservation Dependent]]
   |VU|vu=[[Image:Status {{{status_system|iucn3.1}}} VU.svg|200px]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Vulnerable species]]}}} | }}
   |VU|vu=[[Image:Status {{{status_system|iucn3.1}}} VU.svg|200px]]<br />[[Vulnerable species|Vulnerable]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |EN|en=[[Image:Status {{{status_system|iucn3.1}}} EN.svg|200px]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Endangered species]]}}} | }}
   |EN|en=[[Image:Status {{{status_system|iucn3.1}}} EN.svg|200px]]<br />[[Endangered species|Endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |CR|cr=[[Image:Status {{{status_system|iucn3.1}}} CR.svg|200px]]<br />[[Critically endangered species|Critically endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Critically endangered species]]}}} | }}
   |CR|cr=[[Image:Status {{{status_system|iucn3.1}}} CR.svg|200px]]<br />[[Critically endangered species|Critically endangered]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |PE|pe=[[Image:Status_{{{status_system|none}}}_PE.svg|200px]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Critically endangered species]]}}} | }}
   |PE|pe=[[Image:Status_{{{status_system|none}}}_PE.svg|200px]]<br />[[Critically endangered]], possibly extinct {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |PEW|pew=[[Image:Status_{{{status_system|none}}}_PEW.svg|200px]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Critically endangered species]]}}} | }}
   |PEW|pew=[[Image:Status_{{{status_system|none}}}_PEW.svg|200px]]<br />[[Critically endangered]], possibly extinct in the wild {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |EW|ew=[[Image:Status {{{status_system|iucn3.1}}} EW.svg|200px]]<br />[[Extinction|Extinct]]&nbsp;in&nbsp;the&nbsp;wild {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Species extinct in the wild]]}}} | }}
   |EW|ew=[[Image:Status {{{status_system|iucn3.1}}} EW.svg|200px]]<br />[[Extinction|Extinct]]&nbsp;in&nbsp;the&nbsp;wild {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | }}
   |EX|ex=[[Image:Status {{{status_system|none}}} EX.svg|200px]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}|&nbsp;({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | {{{category|[[Category:Extinct species]]}}} | }}
   |EX|ex=[[Image:Status {{{status_system|none}}} EX.svg|200px]]<br />[[Extinction|Extinct]] {{#if:{{{extinct|}}}|&nbsp;({{{extinct}}}) }} {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
   |GX=[[Image:Status {{{status_system|TNC}}} GX.svg|200px]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}|&nbsp;({{{extinct}}}) }}
   |GX=[[Image:Status {{{status_system|TNC}}} GX.svg|200px]]<br />Presumed [[Extinction|Extinct]] {{#if:{{{extinct|}}}|&nbsp;({{{extinct}}}) }}
   |GH=[[Image:Status {{{status_system|TNC}}} GH.svg|200px]]<br />Possibly [[Extinction|Extinct]]
   |GH=[[Image:Status {{{status_system|TNC}}} GH.svg|200px]]<br />Possibly [[Extinction|Extinct]]
Line 46: Line 47:
   |PRE|pre=Prehistoric
   |PRE|pre=Prehistoric
   |text|Text|TEXT=''See text''
   |text|Text|TEXT=''See text''
   |{{{status}}}
   |{{{status}}}</div>
}}
}}
{{#if:{{{status_text|}}}
{{#if:{{{status_text|}}}
Line 57: Line 58:
|ESA=<small>([[Endangered Species Act|ESA]])</small>
|ESA=<small>([[Endangered Species Act|ESA]])</small>
|{{#if:{{{status_system|}}}|<small>({{{status_system}}})</small>}}
|{{#if:{{{status_system|}}}|<small>({{{status_system}}})</small>}}
}} }} {{#if:{{{status_ref|}}}|<small>{{{status_ref|}}}</small>}} }}
}} }} {{#if:{{{status_ref|}}}|<small>{{{status_ref|}}}</small>}} }}  
}}
}}
|- style="text-align:center;"
|- style="text-align:center;"
! style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};" | {{#if:{{{virus_group|}}}|[[Virus classification]]|[[Scientific classification]]}}
! style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};" | {{#if:{{{virus_group|}}}|[[Virus classification]]|[[Systematics|Scientific classification]]}}
|- style="text-align:center;"
|- style="text-align:center;"
|
|
Line 261: Line 262:
{{!}}  Species complex:
{{!}}  Species complex:
{{!}} {{{species_complex}}}<br /><small>{{{species_complex_authority|}}}</small>}}
{{!}} {{{species_complex}}}<br /><small>{{{species_complex_authority|}}}</small>}}
|-valign="top"
{{#if:{{{sero_complex|}}}|
{{!}}  Sero complex:
{{!}} {{{sero_complex}}}<br /><small>{{{sero_complex_authority|}}}</small>}}
|-valign="top"
|-valign="top"
{{#if:{{{species|}}}|
{{#if:{{{species|}}}|
Line 276: Line 281:
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
{{#if:{{{diversity|}}}|
{{#if:{{{diversity|}}}|
! [[{{{diversity_link}}}|Diversity]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | [[Category:Articles using diversity taxobox]] | }}
! [[{{{diversity_link}}}|Diversity]] {{#ifeq: {{NAMESPACEE}} | {{ns:0}} |}}
{{!}}- style="text-align:center;"
{{!}}- style="text-align:center;"
{{!}} {{{diversity|}}}}}  
{{!}} {{{diversity|}}}}}  
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
{{#if:{{{binomial|}}}|
{{#if:{{{binomial|}}}|
! [[Binomial nomenclature|Binomial name]]
! [[Scientific name|Binomial name]]
{{!}}- style="text-align:center;"
{{!}}- style="text-align:center;"
{{!}} '''<span class="binomial">{{{binomial}}}</span>'''<br /><small>{{{binomial_authority|}}}</small>}}
{{!}} '''<span class="binomial">{{{binomial}}}</span>'''<br /><small>{{{binomial_authority|}}}</small>}}
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
{{#if:{{{trinomial|}}}|
{{#if:{{{trinomial|}}}|
! [[Trinomial nomenclature|Trinomial name]]
! [[Scientific name|Trinomial name]]
{{!}}- style="text-align:center;"
{{!}}- style="text-align:center;"
{{!}} '''{{{trinomial}}}'''<br /><small>{{{trinomial_authority|}}}</small>}}
{{!}} '''{{{trinomial}}}'''<br /><small>{{{trinomial_authority|}}}</small>}}
Line 336: Line 341:
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
{{#if:{{{subdivision|}}}|
{{#if:{{{subdivision|}}}|
! {{{subdivision_ranks}}}
! [[taxon|{{{subdivision_ranks}}}]]
{{!}}-
{{!}}-
{{!}} style="padding:0 .5em; text-align:left;" {{!}}
{{!}} style="padding:0 .5em; text-align:left;" {{!}}
{{{subdivision|}}} }}
{{{subdivision|}}} }}
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
{{#if:{{{subdivision2|}}}|
! [[taxon|{{{subdivision2_ranks}}}]]
{{!}}-
{{!}} style="padding:0 .5em; text-align:left;" {{!}}
{{{subdivision2|}}} }}
|- style="background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
{{#if:{{{vectors|}}}|
! [[Vector]]s
{{!}}-
{{!}} style="padding:0 .5em; text-align:left;" {{!}}
{{{vectors|}}} }}
|-style="text-align:center; background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
|-style="text-align:center; background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group}}}}}}}}}}}}}};"
{{#if:{{{synonyms|}}}|
{{#if:{{{synonyms|}}}|
Line 346: Line 365:
{{!}} style="padding:0 .5em; text-align:left;" {{!}}
{{!}} style="padding:0 .5em; text-align:left;" {{!}}
{{{synonyms|}}} }}
{{{synonyms|}}} }}
|}</includeonly>
|}</includeonly><noinclude>
 
{{TlDoc}}
<noinclude>
This template is for '''Taxoboxes'''. It is copied from Wikipedia.
</noinclude>
</noinclude>

Latest revision as of 23:33, 22 April 2009


This documentation is transcluded from Template:Taxobox/doc (edit | history)

This template is for creating Taxoboxes. It was originally copied from Wikipedia, but has been modified since.

The Wikipedia version is documented here; the CZ version is slightly different, in that it adds several layers:

  • unranked_regnum
  • alliance
  • sero_complex
  • variety

The CZ version also allows two subdivisions. That is, in the Wikipedia taxobox, the entry can only have one type of subdivision, such as order or family. Some entries, however, have direct children in multiple types of taxonomic division, such as Drosophilidae, which has 2 subfamilies and 1 genus directly below it in the tree. The second subdivision works exactly as the regular subdivision, except the variables are called subdivision2 and subdivision2_ranks.

Example:

| subdivision_ranks = Subfamilies
| subdivision =
*[[SubFamily1]]	 
*[[SubFamily2]]
| subdivision2_ranks = Genus
| subdivision2 =
*[[Genus1]]

Here is the full list of layers supported (given as argument names):

  • domain
  • unranked_regnum
  • superregnum
  • regnum
  • subregnum
  • unranked_phylum
  • superdivisio
  • superphylum
  • divisio
  • phylum
  • subdivisio
  • subphylum
  • infraphylum
  • microphylum
  • nanophylum
  • unranked_classis
  • superclassis
  • classis
  • subclassis
  • infraclassis
  • unranked_ordo
  • magnordo
  • superordo
  • ordo
  • subordo
  • infraordo
  • parvordo
  • zoodivisio
  • zoosectio
  • zoosubsectio
  • unranked_familia
  • superfamilia
  • familia
  • subfamilia
  • supertribus
  • tribus
  • subtribus
  • alliance
  • genus
  • genus2
  • subgenus
  • sectio
  • series
  • species_group
  • species_subgroup
  • species_complex
  • sero_complex
  • species
  • subspecies
  • variety