"टेम्पलेट:Get regnum()/doc" की अवतरण में अंतर

copy instead of redirect, to be modified
imported>Smith609
छो (moved Template:Get regnum/doc to Template:Get regnum()/doc: Clarify that this is a function, not a "template" per se)
(copy instead of redirect, to be modified)
{{Documentation subpage}}
#REDIRECT [[Template:Is reg/doc]]
<!-- 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|get regnum|Columbidae}}
 
=== See also ===
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
</includeonly>
0

संपादन