வார்ப்புரு:Taxobox/Error colour

கட்டற்ற கலைக்களஞ்சியமான விக்கிப்பீடியாவில் இருந்து.
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Note to template editors: Edits to the taxonomic terms (taxa) used in this template must be reflected by {{Autotaxobox colour}}, {{Is reg()}}, and {{Taxobox colour scheme}}. The colour-determining taxon must also be at a rank allowed to change the taxobox colour by {{Taxobox}}, so this may need altering. Colours must be defined using the rgb(..,..,..) format to enable {{Sets taxobox colour}} to work correctly.

Function[தொகு]

This template generates the appropriate colour for a taxobox.

It should only be used either by other taxobox templates or within a taxobox.

Use within a taxobox[தொகு]

Both manual and automatic taxoboxes usually generate their colours automatically. If this fails, or if for some reason the automatically generated colour should be over-ridden, then this template can be used within a taxobox to set the colour based on a supplied taxon. Thus:

| color = {{Taxobox colour|Animalia}}

within a taxobox forces its colour to be the one appropriate for animal taxoboxes. Colours should not be declared directly in taxoboxes; using this template ensures that taxobox colours remain consistent.

Examples:

  • {{Taxobox colour|Animalia}} → rgb(235,235,210)
  • {{Taxobox colour|Felis}} → transparent; text-align:center; border: 2px solid red; error:colour

Use by taxonomy templates[தொகு]

Manual taxoboxes call this template from {{Taxobox/core}}, using the format {{Taxobox colour|taxon-name}}. It returns the colour defined in the template for that taxon name, if there is one, or the error colour and styling if not.

Automated taxoboxes call this template themselves, passing the colour obtained to {{Taxobox/core}}. They use the format {{Taxobox colour|taxon=taxon-name}}. This format causes an upwards search in the taxonomic hierarchy specified by the taxonomy templates (templates with names like "Template:Taxonomy/...") using {{Is_reg()}} to decide whether a taxon can determine the colour of a taxobox. Thus it is essential that {{Is_reg()}} is kept in step with this template.

Examples:

  • {{Taxobox colour|taxon=Animalia}} → rgb(235,235,210)
  • {{Taxobox colour|taxon=Felis}} → rgb(235,235,210)

Notice the difference in behaviour between {{Taxobox colour|Felis}} and {{Taxobox colour|taxon=Felis}}.

Taxobox colour scheme[தொகு]

Eukaryota rgb(245,215,255) under development for eukaryotes with no other colour defined
விலங்குia rgb(235,235,210)
Archaeplastida rgb(180,250,180) also தாவரம்ae and Viridiplantae
Fungi rgb(145,250,250)
SAR transparent; text-align:center; border: 2px solid red; error:colour also Chromalveolata
Choanozoa rgb(238,235,195) also Opisthokonta
Excavata rgb(250,250,100) also Protista
Amoebozoa rgb(170,250,205)
பாக்டீரியா rgb(220,235,245) also Firmicutes; many Bacteria taxoboxes are actually light grey
ஆர்க்கீயா rgb(195,245,250) also Nanoarchaeota (Nanarchaeota), Korarchaeota, Thaumarchaeota, Crenarchaeota and Euryarchaeota
தீ நுண்மம்es rgb(250,250,190)
incertae sedis rgb(250,240,230)
Colours not produced by this template:
Ichnotaxa rgb(215,240,210)
Ootaxa rgb(250,250,220)

Supporting templates[தொகு]

Tracking category[தொகு]

"https://ta.wikipedia.org/w/index.php?title=வார்ப்புரு:Taxobox/Error_colour&oldid=2143789" இருந்து மீள்விக்கப்பட்டது