Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Taxobox/core: Difference between revisions

Template page
Content deleted Content added
pass colour to template taxobox/species (needed for CITES categories; see TOL talk)
add status3 handling and number parameter so images can be suppressed for extra status
Line 21: Line 21:
|- 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|}}}|colour={{{colour|}}} }} }}
{{#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|}}}|colour={{{colour|}}} }} }}
|-{{#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>

Revision as of 05:16, 18 April 2026

Taxobox/core
Scientific classification