Difference between revisions of "Template:Child rank"
Jump to navigation
Jump to search
imported>Stemonitis (broaden cat.) |
imported>Peter coxhead (add hidden template for maintenance purposes) |
||
Line 23: | Line 23: | ||
|informal group=grouping | |informal group=grouping | ||
|unranked = unranked | |unranked = unranked | ||
− | |{{#ifeq:{{substr|{{{1}}}|3|8}}|Template|{{ns:0}}|{{error|Unrecognised rank: {{{1}}} <small>[[Template:Child rank|fix]]</small>[[Category:Automatic taxobox cleanup]]}}}}}}</includeonly><noinclude>{{documentation}}</noinclude> | + | |{{#ifeq:{{substr|{{{1}}}|3|8}}|Template|{{ns:0}}|{{error|Unrecognised rank: {{{1}}} <small>[[Template:Child rank|fix]]</small>[[Category:Automatic taxobox cleanup]]}}}}}}[[Category:Automated taxoboxes using child rank template]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 09:04, 23 October 2015
Usage
This template generates the (major) rank below the stated rank. Its original use is within Template:Automatic taxobox; given the rank of the taxon in question, it generates the ranks of the next subdivision. For instance, given "genus" it responds "Species"; given "subphylum" it responds "Class" (not "Superclass" or "Classis").
If a rank has not been listed in the template, it will return an error message. To fix this error, edit the template, listing the novel rank in the line before the equals preceding its child taxon. The syntax in the template ought to be self-explanatory.
Sub- and Super-ranks are not returned; it is expected that in most cases they can be listed alongside the taxon in question, as at Dinosaur.
See also
The above documentation is transcluded from Template:Child rank/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |