Template:Infraspeciesbox/doc

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:

generates →

Variety only
Suppose that the species Yucca grandiflora has a variety Y. g. var. tenuifolia, with no intervening subspecies. Then:

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:

generates →

Note that the ICN does not allow Y. g. subsp. laxifolia var. tenuifolia as a name.

Authorities
If for some reason it is desired to attach authorities, this is done by working upwards from the lowest level taxon: generates →

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

Template Data
{	"params": { "genus": { "type": "string", "required": true },		"species": { "type": "string", "required": true },		"subspecies": { "type": "string" },		"varietas": { "type": "string" },		"authority": { "type": "string", "suggested": true },		"image": { "type": "wiki-file-name", "suggested": true },		"image_caption": { "type": "string" },		"image_alt": { "type": "string" },		"synonyms_ref": { "type": "string" },		"synonyms": { "type": "string" },		"name": { "type": "string" },		"range_map": { "type": "wiki-file-name" },		"range_map_alt": { "type": "string" },		"range_map_caption": { "type": "string" },		"species_link": { "type": "string" },		"species_authority": { "type": "string" },		"status": { "type": "string" },		"status_system": { "type": "string" },		"status_ref": { "type": "string" },		"subdivision_ranks": { "type": "string" },		"subdivision": { "type": "string" }	},	"paramOrder": [ "name", "image", "image_caption", "image_alt", "status", "status_system", "status_ref", "genus", "species", "species_authority", "species_link", "subspecies", "varietas", "authority", "subdivision_ranks", "subdivision", "range_map", "range_map_alt", "range_map_caption", "synonyms", "synonyms_ref" ],	"format": "block" }

}}