This is the template sandbox page for Template:Sets taxobox colour (diff). |
This template is used on approximately 45,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
{{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.
The template assumes that colours defined in {{Taxobox colour}} use the format rgb(..,..,..)
.
The template should only be used from within other taxobox templates.
{{Sets taxobox colour|taxon_name}}
It returns the taxon name if the condition is met, otherwise blank.