Difference between revisions of "Template:Infraspeciesbox/doc"
imported>Peter coxhead |
imported>Peter coxhead (→Authorities: commented out; doesn't work at presnet) |
||
| Line 69: | Line 69: | ||
{{-}} | {{-}} | ||
| − | ===Authorities=== | + | <!--===Authorities=== |
If for some reason it is desired to attach authorities, note carefully how this is done (at present): | If for some reason it is desired to attach authorities, note carefully how this is done (at present): | ||
<div style="float:left;"><pre><nowiki>{{Infraspeciesbox | <div style="float:left;"><pre><nowiki>{{Infraspeciesbox | ||
| Line 92: | Line 92: | ||
|authority = B.Anon | |authority = B.Anon | ||
}}</div> | }}</div> | ||
| − | {{-}} | + | {{-}}--> |
==Performance considerations== | ==Performance considerations== | ||
Revision as of 14:32, 21 February 2017
| File:Lua-Logo.svg | This template uses Lua: |
Taxonomy templates
Taxobox templates
- Which should be used?
- Changing the taxa displayed
- Convert a taxobox to an automated taxobox
- Glossary of automated taxobox parameters
- Automatic taxobox – mainly for genera and higher taxa
- Speciesbox – for a species
- Subspeciesbox – for an animal subspecies
- Infraspeciesbox – for a plant subspecies or variety
- Hybridbox – for an animal hybrid within a genus
- Ichnobox – for a trace fossil
- Oobox – for a fossil egg
- Virusbox – for viruses and non-cellular life
- Paraphyletic group – for concepts that do not correspond to a monophyletic clade
Template:Infraspeciesbox displays an automatic taxobox for a rank lower than species (an infraspecific rank) for taxa governed by the ICN (the botanical code). For taxa governed by the ICZN (the zoological code), see Template:Subspeciesbox.
At present it can only handle the ranks subspecies and variety (varietas) or the combination of the two.
Contents
Usage
The parameters are generally the same as Template:Subspeciesbox, which handles subspecies whose names are governed by the Zoological Code.
Subspecies only
Suppose that a species called Yucca grandiflora has a subspecies Y. g. subsp. laxifolia. Then:
{{Infraspeciesbox
| genus = Yucca
| species = grandiflora
| subspecies = laxifolia
| authority = A.Anon
}}
generates →Variety only
Suppose that the species Yucca grandiflora has a variety Y. g. var. tenuifolia, with no intervening subspecies. Then:
{{Infraspeciesbox
| genus = Yucca
| species = grandiflora
| varietas = tenuifolia
| authority = B.Anon
}}
generates →
(The parameter "variety" can be used in place of "varietas".)Subspecies and variety
Finally suppose that Y. g. var. tenuifolia is actually within Y. g. subsp. laxifolia. Then:
{{Infraspeciesbox
|genus = Yucca
|species = grandiflora
|subspecies = laxifolia
|varietas = tenuifolia
|authority = B.Anon
}}
generates →
Note that the ICN does not allow Y. g. subsp. laxifolia var. tenuifolia as a name.
Performance considerations
As of November 2014, this template had not been tested with many of the other possible parameters. Because the template invokes Template:Taxobox/core, it is limited by resources used there. Expansion depth errors are likely with very deep taxonomic hierarchies.