Template:Taxobox colour
- Адыгэбзэ
- Afrikaans
- Алтай тил
- العربية
- অসমীয়া
- Asturianu
- Авар
- Azərbaycanca
- تۆرکجه
- Basa Bali
- বাংলা
- 閩南語 / Bân-lâm-gú
- Башҡортса
- Беларуская
- भोजपुरी
- Bosanski
- Eesti
- Ελληνικά
- Español
- Estremeñu
- Euskara
- فارسی
- Føroyskt
- Gaelg
- Galego
- گیلکی
- ગુજરાતી
- 客家語 / Hak-kâ-ngî
- 한국어
- Հայերեն
- हिन्दी
- Igbo
- Ilokano
- Bahasa Indonesia
- Interlingua
- Ирон
- Íslenska
- Jawa
- Къарачай-малкъар
- Қазақша
- Коми
- Kurdî
- Лезги
- Lietuvių
- Magyar
- मैथिली
- Македонски
- മലയാളം
- Malti
- Māori
- मराठी
- مصرى
- ဘာသာမန်
- مازِرونی
- Bahasa Melayu
- Mirandés
- Мокшень
- မြန်မာဘာသာ
- नेपाली
- 日本語
- Нохчийн
- Norfuk / Pitkern
- ଓଡ଼ିଆ
- Oʻzbekcha / ўзбекча
- ਪੰਜਾਬੀ
- پښتو
- ភាសាខ្មែរ
- Tok Pisin
- Português
- Română
- Русиньскый
- Русский
- संस्कृतम्
- Scots
- Shqip
- සිංහල
- Simple English
- Slovenčina
- Slovenščina
- کوردی
- Српски / srpski
- Sunda
- Svenska
- Tagalog
- தமிழ்
- Татарча / tatarça
- ၽႃႇသႃႇတႆး
- తెలుగు
- ไทย
- Тоҷикӣ
- ತುಳು
- Українська
- اردو
- Vahcuengh
- Tiếng Việt
- 文言
- 吴语
- ייִדיש
- 粵語
- 中文
- Kumoring
- ᥖᥭᥰ ᥖᥬᥲ ᥑᥨᥒᥰ
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
Note to template editors: Edits to the taxonomic terms (taxa) in this template depend for their effect in manual taxoboxes on the colour-determining taxon being 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.
Purpose
This template is one of a number of configuration templates used in the taxobox system, in this case in both manual and automated taxoboxes.
It generates the appropriate colour for a taxobox.
It should only be used by other taxobox templates.
Use by taxonomy templates
Manual taxoboxes call this template from {{Taxobox }}, which looks at the values of ranks given in the taxobox from phylum upwards and uses the taxobox colour for the first colour-setting taxon found (or the error colour if none is found). {{Sets taxobox colour }} is used to decide whether a taxon is colour-setting, which it does by using this template.
Automated taxoboxes use a function in Module:Autotaxobox, which finds a colour-setting taxon by searching up the taxonomic hierarchy coded in taxonomy templates (i.e. templates with names of the form "Taxonomy/taxon-name").
Setting colour 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, |color_as=
can be used to set the colour based on a supplied taxon. Thus:
| color_as = Animalia
within a taxobox forces its colour to be the one appropriate for animal taxoboxes. The taxon given as the value of |color_as=
must be in the switch statement in this template. Thus |color_as=Felis
fails and assigns the error colour.
Taxobox colour scheme
Animalia | rgb(235,235,210) | |
---|---|---|
Archaea | rgb(195,245,250) | also Nanoarchaeota (Nanarchaeota), Korarchaeota, Thaumarchaeota, Crenarchaeota and Euryarchaeota |
Archaeplastida | rgb(180,250,180) | also Plantae and Viridiplantae |
Bacteria | rgb(220,235,245) | |
Eukaryota | rgb(245,215,255) | For eukaryotes with no other colour defined, including Excavata, Amoebozoa and Opisthokonta |
Fungi | rgb(145,250,250) | |
Ichnotaxa | rgb(230,222,214) | |
incertae sedis | rgb(250,240,230) | |
SAR | rgb(200,250,80) | also Harosa, Chromalveolata |
Ootaxa | rgb(250,250,220) | |
Viruses | rgb(250,250,190) | also Viroids |
Tracking categories
Supporting templates
See also
Other configuration templates include:
- {{Anglicise rank }} – converts the Latin form that is used in taxonomy templates to the English equivalent
- {{Principal rank }} – defines the Linnaean principal ranks that are shown by default in automated taxoboxes
- {{Is italic taxon }} – defines which ranks cause taxon names to be italicized in automated taxoboxes
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.