<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wicri-demo.istex.fr/Wicri/Bois/en/index.php?action=history&amp;feed=atom&amp;title=Template%3ATaxobox_colour%2Fdoc</id>
	<title>Template:Taxobox colour/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wicri-demo.istex.fr/Wicri/Bois/en/index.php?action=history&amp;feed=atom&amp;title=Template%3ATaxobox_colour%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Bois/en/index.php?title=Template:Taxobox_colour/doc&amp;action=history"/>
	<updated>2026-04-27T01:53:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.10</generator>
	<entry>
		<id>https://wicri-demo.istex.fr/Wicri/Bois/en/index.php?title=Template:Taxobox_colour/doc&amp;diff=672&amp;oldid=prev</id>
		<title>Jacques Ducloy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Bois/en/index.php?title=Template:Taxobox_colour/doc&amp;diff=672&amp;oldid=prev"/>
		<updated>2021-01-06T14:28:45Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:28, 6 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jacques Ducloy</name></author>
		
	</entry>
	<entry>
		<id>https://wicri-demo.istex.fr/Wicri/Bois/en/index.php?title=Template:Taxobox_colour/doc&amp;diff=671&amp;oldid=prev</id>
		<title>Jacques Ducloy: Created page with &quot;{{Documentation subpage}} {{High-risk|340000+}} &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata)...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wicri-demo.istex.fr/Wicri/Bois/en/index.php?title=Template:Taxobox_colour/doc&amp;diff=671&amp;oldid=prev"/>
		<updated>2017-06-28T14:47:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{High-risk|340000+}} &amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see &lt;a href=&quot;https://en.wikipedia.org/wiki/Wikidata&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Wikidata&quot;&gt;Wikipedia:Wikidata&lt;/a&gt;)...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-risk|340000+}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Note to template editors&amp;lt;/strong&amp;gt;: 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 {{tl|Taxobox}}, so this may need altering. Colours must be defined using the rgb(..,..,..) format to enable {{tl|Sets taxobox colour}} to work correctly.&lt;br /&gt;
&lt;br /&gt;
== Function ==&lt;br /&gt;
This template generates the appropriate colour for a taxobox.&lt;br /&gt;
&lt;br /&gt;
It should only be used by other taxobox templates.&lt;br /&gt;
&lt;br /&gt;
=== Use by taxonomy templates ===&lt;br /&gt;
&lt;br /&gt;
Manual taxoboxes call this template from {{tl|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). {{tl|Sets taxobox colour}} is used to decide whether a taxon is colour-setting, which it does by using this template.&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;Taxonomy/''taxon-name''&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== Setting colour within a taxobox ===&lt;br /&gt;
&lt;br /&gt;
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, {{para|color_as}} can be used to set the colour based on a supplied taxon. Thus:&lt;br /&gt;
&amp;lt;pre&amp;gt;| color_as = Animalia&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
within a taxobox forces its colour to be the one appropriate for animal taxoboxes. The taxon given as the value of {{para|color_as}} must be in the switch statement in this template. Thus {{para|color_as|Felis}} fails and assigns the error colour.&lt;br /&gt;
&lt;br /&gt;
==Taxobox colour scheme==&lt;br /&gt;
{{Taxobox colour scheme}}&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
* {{clc|Taxoboxes with the error color}}&lt;br /&gt;
* {{clc|Taxoboxes with no color}}&lt;br /&gt;
&lt;br /&gt;
== Supporting templates ==&lt;br /&gt;
* [[Template:Sets taxobox colour]]&lt;br /&gt;
* [[Template:Taxobox/Error colour]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Taxobox templates]]&lt;br /&gt;
[[Category:Template implementation details]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jacques Ducloy</name></author>
		
	</entry>
</feed>