Template:Taxobox/core: Difference between revisions
Template page
More actions
Content deleted Content added
updated to tested sandbox version, which handles up to greatgreatgreatgrandparent_authority |
add handling for audio file and audio caption (with associated parameters used for images, which may not be necessary). See discussion at Template_talk:Automatic_taxobox |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 20: | Line 20: | ||
}} |
}} |
||
|- style="color:inherit; 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|}}}|colour={{{colour|}}} }} }} |
||
|-{{#if:{{{status2|}}}|{{taxobox/species|{{{status2_system|}}}|{{{status2|}}}|{{{status2_ref|}}}|extinction_date={{{extinct|}}} }} }} |
|-{{#if:{{{status2|}}}|{{taxobox/species|{{{status2_system|}}}|{{{status2|}}}|{{{status2_ref|}}}|extinction_date={{{extinct|}}}|colour={{{colour|}}}|number=2 }} }} |
||
|-{{#if:{{{status3}}}|{{taxobox/species|{{{status3_system|}}}|{{{status3|}}}|{{{status3_ref|}}}|extinction_date={{{extinct|}}}|colour={{{colour|}}}|number=3 }} }} |
|||
|- |
|- |
||
! 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> | }} |
! 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> | }} |
||
| Line 152: | Line 153: | ||
|- |
|- |
||
{{#if:{{{type_genus|}}}| |
{{#if:{{{type_genus|}}}| |
||
! colspan=2 style="color:inherit; 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]]{{{type_genus_ref|}}} |
||
{{!}}- |
{{!}}- |
||
{{!}} 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 159: | ||
|- |
|- |
||
{{#if:{{{type_ichnogenus|}}}| |
{{#if:{{{type_ichnogenus|}}}| |
||
! colspan=2 style="color:inherit; 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]]{{{type_ichnogenus_ref|}}} |
||
{{!}}- |
{{!}}- |
||
{{!}} 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 165: | ||
|- |
|- |
||
{{#if:{{{type_oogenus|}}}| |
{{#if:{{{type_oogenus|}}}| |
||
! colspan=2 style="color:inherit; 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]]{{{type_oogenus_ref|}}} |
||
{{!}}- |
{{!}}- |
||
{{!}} 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 171: | ||
|- |
|- |
||
{{#if:{{{type_species|}}}| |
{{#if:{{{type_species|}}}| |
||
! colspan=2 style="color:inherit; 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]]{{{type_species_ref|}}} |
||
{{!}}- |
{{!}}- |
||
{{!}} 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 177: | ||
|- |
|- |
||
{{#if:{{{type_ichnospecies|}}}| |
{{#if:{{{type_ichnospecies|}}}| |
||
! colspan=2 style="color:inherit; 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]]{{{type_ichnospecies_ref|}}} |
||
{{!}}- |
{{!}}- |
||
{{!}} 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 183: | ||
|- |
|- |
||
{{#if:{{{type_oospecies|}}}| |
{{#if:{{{type_oospecies|}}}| |
||
! colspan=2 style="color:inherit; 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]]{{{type_oospecies_ref|}}} |
||
{{!}}- |
{{!}}- |
||
{{!}} 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 274: | Line 275: | ||
{{!}} colspan=2 style="text-align: left" {{!}} |
{{!}} colspan=2 style="text-align: left" {{!}} |
||
{{{synonyms}}} |
{{{synonyms}}} |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{audio|}}}| |
|||
! colspan=2 style="color:inherit; text-align: center{{#if:{{{colour|}}}|{{;}} background-color: {{{colour}}} }}" {{!}} [[List of animal sounds|Audio]]{{{audio_ref|}}} |
|||
{{!}}- |
|||
{{!}} colspan=2 style="text-align: center" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{audio}}}|size={{{audio_width|}}}|sizedefault=frameless|upright={{{audio_upright|}}} |alt={{{audio_alt|}}}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{audio_caption|}}}| |
|||
{{!}} colspan=2 style="text-align: {{{audio_caption_align|center}}}; font-size: 88%" {{!}} {{{audio_caption}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Latest revision as of 08:14, 1 June 2026
| Taxobox/core | |
|---|---|
| Scientific classification |