Template:Sets taxobox colour/doc

Purpose
Sets taxobox colour is a utility template used by Taxobox. It checks whether its argument, which should be a taxon name, has a taxobox colour defined in Taxobox colour but is not "incertae sedis". If this condition is true, it returns the taxon name, otherwise it returns blank.

Assumption
The template assumes that colours defined in Taxobox colour use the format.

Usage
The template should only be used from within other taxobox templates.

It returns the taxon name if the condition is met, otherwise blank.

Examples

 * A taxobox colour is explicitly defined for Animalia.
 * A taxobox colour is explicitly defined for Animalia.


 * The taxon name can have an initial capital or not.
 * The taxon name can have an initial capital or not.


 * Although Acacia is a plant genus, the taxobox colour is not explicitly defined in Taxobox colour; in an actual taxobox it is set by finding that Acacia is a member of Plantae.
 * Although Acacia is a plant genus, the taxobox colour is not explicitly defined in Taxobox colour; in an actual taxobox it is set by finding that Acacia is a member of Plantae.


 * Although "incertae sedis" has a taxobox colour defined in Taxobox colour, it is ignored. (This is so that templates that use this one can continue to look higher up the taxonomic hierarchy to see if there is a more appropriate colour; an incertae sedis family, for example, may be known to be an animal, when the Animalia colour should be used.)
 * Although "incertae sedis" has a taxobox colour defined in Taxobox colour, it is ignored. (This is so that templates that use this one can continue to look higher up the taxonomic hierarchy to see if there is a more appropriate colour; an incertae sedis family, for example, may be known to be an animal, when the Animalia colour should be used.)