Difference between revisions of "Template:Is reg()"
From quasar
(is reg/doc) |
Acwebadmin (Talk | contribs) m (1 revision) |
(No difference)
|
Latest revision as of 10:44, 8 May 2013
Usage
Input: |1=Taxon name
Output:
- If Taxon is a regnum (or equivalent higher category),
[[{{{1}}}]]
- Else: Null.
Intended use: Call repeatedly for each taxon in a taxobox (using {{Get regnum()}}). Because a null string is returned for all non-regna, all that remains will be the regnum. Pass this output to {{Taxobox colour}} to generate colours for a taxobox.
Examples
{{is reg|Animalia}}
→ animalia{{is reg|Columbidae}}
→
See also
The above documentation is transcluded from template:is reg/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |