Difference between revisions 3739817 and 3739818 on simplewiki

{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

=== Usage ===

Input:  {{para|1|Taxon name}}

Output: 
* If Taxon is a [[Kingdom (biology)|regnum]] (or equivalent higher category), <pre>[[{{{1}}}]]</pre>
* Else:  Null.

Intended use:  Call repeatedly for each taxon in a taxobox (using {{tl|Get regnum()}}).  Because a null string is returned for all non-regna, all that remains will be the regnum.  Pass this output to {{tl|Taxobox colour}} to generate colours for a taxobox.

===Examples===
*{{xpsoc|is reg|Animalia}}
*{{xpsoc|is reg|Columbidae}}

=== See also ===

<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Taxobox templates]]
</includeonly>