Template:Taxobox/core: Difference between revisions
https://sandbox.indicwiki.org/index.php/>Jonesey95 fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value |
m 1 revision imported |
||
| (4 intermediate revisions by 2 users 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> | }} | ||
|- | |- | ||
{{#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 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 14:40, 15 July 2026
| Taxobox/core | |
|---|---|
| Scientific classification |