Template:Infraspeciesbox/doc

< Template:Infraspeciesbox
Documentation for the automated taxobox system

Taxonomy templates

Taxobox templates

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.

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 →
Yucca grandiflora subsp. laxifolia
Scientific classification e
Unrecognized taxon (fix): Yucca
Subgenus:
Species:
Subspecies:
Template:Taxonomy/YuccaY. g. subsp. laxifolia
Trinomial name
Yucca grandiflora subsp. laxifolia
A.Anon

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".)
Yucca grandiflora var. tenuifolia
Scientific classification e
Unrecognized taxon (fix): Yucca
Subgenus:
Species:
Variety:
Template:Taxonomy/YuccaY. g. var. tenuifolia
Trinomial name
Yucca grandiflora var. tenuifolia
B.Anon

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.
Yucca grandiflora var. tenuifolia
Scientific classification e
Unrecognized taxon (fix): Yucca
Subgenus:
Species:
Subspecies:
Variety:
Template:Taxonomy/YuccaY. g. var. tenuifolia
Trinomial name
Yucca grandiflora var. tenuifolia
B.Anon


Performance considerations

As of November 2017, this template had not been tested with many of the other possible parameters.

Template Data

This is the TemplateData documentation for the template used by the new VisualEditor.

Infraspeciesbox

<templatedata> { "params": { "genus": { "type": "string", "required": true }, "species": { "type": "string", "required": true }, "subspecies": { "type": "string" }, "varietas": { "type": "string" }, "authority": { "type": "string" }, "image": { "type": "wiki-file-name" }, "image_caption": { "type": "string" }, "image_alt": { "type": "string" }, "synonyms_ref": {}, "synonyms": {}, "name": { "type": "string" } }, "paramOrder": [ "name", "image", "image_caption", "image_alt", "genus", "species", "subspecies", "varietas", "authority", "synonyms_ref", "synonyms" ], "format": "block" } </templatedata>