Template:Taxobox/core: Difference between revisions
m (1 revision imported) |
(updated to tested sandbox version, which handles up to greatgreatgreatgrandparent_authority) |
||
| Line 1: | Line 1: | ||
{| class="infobox biota" style="text-align: left; width: 200px; font-size: 100%" | {| class="infobox biota" style="text-align: left; width: 200px; font-size: 100%" | ||
|- | |- | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}}| }}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}{{#if:{{{temporal_range|}}}|<br/><div style="font-size: 85%;">Temporal range: {{{temporal_range}}}</div>}} | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}}| }}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}{{#if:{{{temporal_range|}}}|<br/><div style="font-size: 85%;">Temporal range: {{{temporal_range}}}</div>}} | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
| Line 19: | Line 19: | ||
}} | }} | ||
}} | }} | ||
|- style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" | |- style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" | ||
{{#if:{{{status|}}}|{{taxobox/species|{{{status_system|}}}|{{{status|}}}|{{{status_ref|}}}|extinction_date={{{extinct|}}} }} }} | {{#if:{{{status|}}}|{{taxobox/species|{{{status_system|}}}|{{{status|}}}|{{{status_ref|}}}|extinction_date={{{extinct|}}} }} }} | ||
|-{{#if:{{{status2|}}}|{{taxobox/species|{{{status2_system|}}}|{{{status2|}}}|{{{status2_ref|}}}|extinction_date={{{extinct|}}} }} }} | |-{{#if:{{{status2|}}}|{{taxobox/species|{{{status2_system|}}}|{{{status2|}}}|{{{status2_ref|}}}|extinction_date={{{extinct|}}} }} }} | ||
|- | |- | ||
! colspan=2 style="min-width:15em; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" | {{#if:{{{virus_group|{{{virus|}}}}}}|[[Virus classification]]|{{#if:{{{ichnos|}}}|[[Trace fossil classification]]|{{#if:{{{veterovata|}}}|[[Egg fossil#Classification|Egg fossil classification]]|[[Taxonomy (biology)|Scientific classification]]}} }} }} {{#if:{{{edit link|}}}|{{edit taxonomy|{{{parent|}}} | {{{edit link}}} }} }}{{#if: {{{classification_status|}}} | <br/><span style="font-weight:normal">({{{classification_status}}})</span> | }} | ! colspan=2 style="color:inherit; min-width:15em; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" | {{#if:{{{virus_group|{{{virus|}}}}}}|[[Virus classification]]|{{#if:{{{ichnos|}}}|[[Trace fossil classification]]|{{#if:{{{veterovata|}}}|[[Egg fossil#Classification|Egg fossil classification]]|[[Taxonomy (biology)|Scientific classification]]}} }} }} {{#if:{{{edit link|}}}|{{edit taxonomy|{{{parent|}}} | {{{edit link}}} }} }}{{#if: {{{classification_status|}}} | <br/><span style="font-weight:normal">({{{classification_status}}})</span> | }} | ||
|- | |- | ||
{{#if:{{{parent|}}}|{{#invoke:Autotaxobox|taxoboxList|{{{parent}}}| display_taxa={{{display_taxa|1}}}| authority={{{authority|}}}| parent_authority={{{parent_authority|}}}| gparent_authority={{{grandparent_authority|}}}| ggparent_authority={{{greatgrandparent_authority|}}}| gggparent_authority={{{greatgreatgrandparent_authority|}}}| offset={{{offset|0}}}| bold_first={{{bold_first|{{#if:{{{species|}}}|link|bold}}}}}| virus={{{virus|no}}}}}}} | {{#if:{{{parent|}}}|{{#invoke:Autotaxobox|taxoboxList|{{{parent}}}| display_taxa={{{display_taxa|1}}}| authority={{{authority|}}}| parent_authority={{{parent_authority|}}}| gparent_authority={{{grandparent_authority|}}}| ggparent_authority={{{greatgrandparent_authority|}}}| gggparent_authority={{{greatgreatgrandparent_authority|}}}| ggggparent_authority={{{greatgreatgreatgrandparent_authority|}}}| offset={{{offset|0}}}| bold_first={{{bold_first|{{#if:{{{species|}}}|link|bold}}}}}| virus={{{virus|no}}}}}}} | ||
{{#if:{{{virus_group|}}}|{{taxonomy|rank=group | {{#if:{{{virus_group|}}}|{{taxonomy|rank=group | ||
|link= {{#switch:{{lc:{{{virus_group}}} }} | |link= {{#switch:{{lc:{{{virus_group}}} }} | ||
| Line 140: | Line 140: | ||
|- | |- | ||
{{#if:{{{binomial|}}}| | {{#if:{{{binomial|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Binomial nomenclature|Binomial name]] | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Binomial nomenclature|Binomial name]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} <b><span class="binomial">{{{binomial}}}</span></b><br/><div style="font-size: 85%;">{{{binomial_authority|}}}</div> | {{!}} colspan=2 style="text-align: center" {{!}} <b><span class="binomial">{{{binomial}}}</span></b><br/><div style="font-size: 85%;">{{{binomial_authority|}}}</div> | ||
}} | }} | ||
|- style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" | |- style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" | ||
{{#if:{{{trinomial|}}}| | {{#if:{{{trinomial|}}}| | ||
! colspan=2 style="text-align: center" {{!}} [[{{#switch:{{{regnum|}}}|[[Animalia]]|[[Animal]]ia|Animalia=Trinomen|[[Plantae]]|[[Plant]]ae|Plantae|[[Fungi]]|[[Fungus|Fungi]]|Fungi|[[Archaeplastida]]|Archaeplastida=Infraspecific name (botany)|Trinomial nomenclature}}|Trinomial name]] | ! colspan=2 style="text-align: center" {{!}} [[{{#switch:{{{regnum|}}}|[[Animalia]]|[[Animal]]ia|Animalia=Trinomen|[[Plantae]]|[[Plant]]ae|Plantae|[[Fungi]]|[[Fungus|Fungi]]|Fungi|[[Archaeplastida]]|Archaeplastida=Infraspecific name (botany)|Trinomial nomenclature}}|Trinomial name]] | ||
| Line 152: | Line 152: | ||
|- | |- | ||
{{#if:{{{type_genus|}}}| | {{#if:{{{type_genus|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour|}}} }}"{{!}} [[Type genus]] | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour|}}} }}"{{!}} [[Type genus]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_genus}}}<br/><div style="font-size: 85%;">{{{type_genus_authority|}}}</div> | {{!}} colspan=2 style="text-align: center" {{!}} {{{type_genus}}}<br/><div style="font-size: 85%;">{{{type_genus_authority|}}}</div> | ||
| Line 158: | Line 158: | ||
|- | |- | ||
{{#if:{{{type_ichnogenus|}}}| | {{#if:{{{type_ichnogenus|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour|}}} }}"{{!}} [[Type genus|Type ichnogenus]] | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour|}}} }}"{{!}} [[Type genus|Type ichnogenus]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnogenus}}}<br/><div style="font-size: 85%;">{{{type_ichnogenus_authority|}}}</div> | {{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnogenus}}}<br/><div style="font-size: 85%;">{{{type_ichnogenus_authority|}}}</div> | ||
| Line 164: | Line 164: | ||
|- | |- | ||
{{#if:{{{type_oogenus|}}}| | {{#if:{{{type_oogenus|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour|}}} }}"{{!}} [[Type genus|Type oogenus]] | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour|}}} }}"{{!}} [[Type genus|Type oogenus]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_oogenus}}}<br/><div style="font-size: 85%;">{{{type_oogenus_authority|}}}</div> | {{!}} colspan=2 style="text-align: center" {{!}} {{{type_oogenus}}}<br/><div style="font-size: 85%;">{{{type_oogenus_authority|}}}</div> | ||
| Line 170: | Line 170: | ||
|- | |- | ||
{{#if:{{{type_species|}}}| | {{#if:{{{type_species|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type species]] | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type species]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_species}}}<br/><div style="font-size: 85%;">{{{type_species_authority|}}}</div> | {{!}} colspan=2 style="text-align: center" {{!}} {{{type_species}}}<br/><div style="font-size: 85%;">{{{type_species_authority|}}}</div> | ||
| Line 176: | Line 176: | ||
|- | |- | ||
{{#if:{{{type_ichnospecies|}}}| | {{#if:{{{type_ichnospecies|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type species|Type ichnospecies]] | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type species|Type ichnospecies]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnospecies}}}<br/><div style="font-size: 85%;">{{{type_ichnospecies_authority|}}}</div> | {{!}} colspan=2 style="text-align: center" {{!}} {{{type_ichnospecies}}}<br/><div style="font-size: 85%;">{{{type_ichnospecies_authority|}}}</div> | ||
| Line 182: | Line 182: | ||
|- | |- | ||
{{#if:{{{type_oospecies|}}}| | {{#if:{{{type_oospecies|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type species|Type oospecies]] | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type species|Type oospecies]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_oospecies}}}<br/><div style="font-size: 85%;">{{{type_oospecies_authority|}}}</div> | {{!}} colspan=2 style="text-align: center" {{!}} {{{type_oospecies}}}<br/><div style="font-size: 85%;">{{{type_oospecies_authority|}}}</div> | ||
| Line 188: | Line 188: | ||
|- | |- | ||
{{#if:{{{type_strain|}}}| | {{#if:{{{type_strain|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type strain]]{{#if:{{{type_strain_ref|}}}|{{{type_strain_ref}}}|}} | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Type strain]]{{#if:{{{type_strain_ref|}}}|{{{type_strain_ref}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{type_strain}}} | {{!}} colspan=2 style="text-align: center" {{!}} {{{type_strain}}} | ||
| Line 194: | Line 194: | ||
|- | |- | ||
{{#if:{{{subdivision|}}}| | {{#if:{{{subdivision|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} {{{subdivision_ranks}}}{{{subdivision_ref|}}} | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} {{{subdivision_ranks}}}{{{subdivision_ref|}}} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: left" {{!}} | {{!}} colspan=2 style="text-align: left" {{!}} | ||
| Line 201: | Line 201: | ||
|- | |- | ||
{{#if:{{{possible_subdivision|}}}| | {{#if:{{{possible_subdivision|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} {{{possible_subdivision_ranks}}} | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} {{{possible_subdivision_ranks}}} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: left" {{!}} | {{!}} colspan=2 style="text-align: left" {{!}} | ||
| Line 208: | Line 208: | ||
|- | |- | ||
{{#if:{{{diversity|}}}| | {{#if:{{{diversity|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Biodiversity|Diversity]]{{{diversity_ref|}}} {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | [[Category:Articles using diversity taxobox]] | }} | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Biodiversity|Diversity]]{{{diversity_ref|}}} {{#ifeq: {{NAMESPACEE}} | {{ns:0}} | [[Category:Articles using diversity taxobox]] | }} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{#if:{{{diversity_link|}}}|[[{{{diversity_link|}}}|{{{diversity|}}}]]|{{{diversity|}}}}} | {{!}} colspan=2 style="text-align: center" {{!}} {{#if:{{{diversity_link|}}}|[[{{{diversity_link|}}}|{{{diversity|}}}]]|{{{diversity|}}}}} | ||
| Line 270: | Line 270: | ||
|- | |- | ||
{{#if:{{{synonyms|}}}| | {{#if:{{{synonyms|}}}| | ||
! colspan=2 style="text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Synonym (taxonomy)|Synonyms]]{{{synonyms_ref|}}} | ! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[Synonym (taxonomy)|Synonyms]]{{{synonyms_ref|}}} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: left" {{!}} | {{!}} colspan=2 style="text-align: left" {{!}} | ||
| Line 282: | Line 282: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|}<!-- | |}<templatestyles src="Template:Taxobox/core/styles.css" /><!-- | ||
Define any categories to be displayed on the page here: | Define any categories to be displayed on the page here: | ||
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!-- | -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}<!-- | ||
Revision as of 16:09, 22 July 2025
| Taxobox/core | |
|---|---|
| Scientific classification |
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]