Difference between revisions of "Template:Infraspeciesbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
(update)
imported>Peter coxhead
(note use of Module:Autotaxobox)
Line 1: Line 1:
The '''[[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]].
+
{{Lua|Module:Autotaxobox}}
 +
 
 +
'''[[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 or the combination of the two.
 
At present it can only handle the ranks subspecies and variety or the combination of the two.

Revision as of 13:46, 2 January 2017

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 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
| variety = tenuifolia
| authority = B.Anon
}}

generates →

Note the use of "variety" not "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
|variety = 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, note carefully how this is done (at present):

{{Infraspeciesbox
| genus = Yucca
| grandparent_authority = D.Anon
| species = grandiflora
| binomial_authority = C.Anon
| subspecies = laxiflora
| subspecies_authority = A.Anon
| variety = tenuifolia
| authority = B.Anon
}}
generates →
Template:Taxobox/core

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.

See also