Template:Is reg()

From Investigations
Revision as of 00:29, 2 January 2011 by Patrick (Talk) (is reg/doc)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] [history] [purge] 50px Template documentation

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