Difference between revisions of "Template:Infraspeciesbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
(don't categorize sandbox)
imported>Plantdrew
Line 118: Line 118:
 
},
 
},
 
"authority": {
 
"authority": {
"type": "string"
+
"type": "string",
 +
"suggested": true
 
},
 
},
 
"image": {
 
"image": {

Revision as of 21:57, 3 September 2019

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 →
Template:Taxobox/core

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".)
Template:Taxobox/core

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.
Template:Taxobox/core

Authorities

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

{{Infraspeciesbox
|genus = Rhododendron
|greatgrandparent_authority = L.
|subgenus = R. ''subg.'' Hymenanthes
|grandparent_authority = (Blume) K. Koch
|species = irroratum
|parent_authority = Franch.
|subspecies = pogonostylum
|authority = (Balf.f. & W.W.Sm.) D.F.Chamb.
}}
generates →
Template:Taxobox/core

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 this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infraspeciesbox

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringoptional
Imageimage

no description

Fileoptional
Image_captionimage_caption

no description

Stringoptional
Image_altimage_alt

no description

Stringoptional
Genusgenus

no description

Stringrequired
Speciesspecies

no description

Stringrequired
Subspeciessubspecies

no description

Stringoptional
Varietasvarietas

no description

Stringoptional
Authorityauthority

no description

Stringsuggested
Synonyms_refsynonyms_ref

no description

Unknownoptional
Synonymssynonyms

no description

Unknownoptional