Difference between revisions of "Template:Infraspeciesbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hidayatsrf
(adding category)
imported>Peter coxhead
(update)
Line 90: Line 90:
 
}}</div>
 
}}</div>
 
{{-}}
 
{{-}}
 +
 
==Performance considerations==
 
==Performance considerations==
As of February 2012, 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, such as expansion depth of 39 levels.
+
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 ==
 
== See also ==
Line 97: Line 98:
 
* [[Template:Subspeciesbox]]
 
* [[Template:Subspeciesbox]]
 
* [[Template:Speciesbox]]
 
* [[Template:Speciesbox]]
 +
* [[Template:Automatic taxobox]]
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Taxobox templates]]
 
[[Category:Taxobox templates]]
 
</includeonly>
 
</includeonly>

Revision as of 21:27, 22 November 2016

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.

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