Template:Get regnum()/1/sandbox
From Investigations
Revision as of 18:07, 19 March 2013 by Mr. Stradivarius (Talk) (Mr. Stradivarius moved page Template:Get regnum/1/sandbox to Template:Get regnum()/1/sandbox: Sandbox code is for the subtemplate, not the redirect)
Usage
Input: |1=Taxon name
Output:
- regnum (or equivalent higher category), linked
Calls Template:Is reg repeatedly for each taxon in a taxobox. Because that template returns a null string for all non-regna, all that remains will be the regnum. Pass this output to {{Taxobox colour}} to generate colours for a taxobox.
Examples
{{get regnum|Columbidae}}
→ animalia
See also
The above documentation is transcluded from Template:Get regnum/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |