Revision 3739818 of "Template:Is reg/doc" 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>All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://simple.wikipedia.org/w/index.php?oldid=3739818.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|