Difference between revisions of "Template:Infraspeciesbox/doc"
imported>Peter coxhead |
imported>Wikid77 (104 changes: ce; put bolded name; aligned keywords in infobox examples; +section "Performance considerations"; spaced at italics) |
||
| 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]]. | |
| − | At present it can only handle the ranks | + | At present it can only handle the ranks "subspecies=" and "variety=" or the combination of the two. |
==Usage== | ==Usage== | ||
| Line 11: | Line 11: | ||
{{-}} | {{-}} | ||
<div style="float:left;"><pre><nowiki>{{Infraspeciesbox | <div style="float:left;"><pre><nowiki>{{Infraspeciesbox | ||
| − | |genus = Yucca | + | | genus = Yucca |
| − | |species = grandiflora | + | | species = grandiflora |
| − | |subspecies = laxifolia | + | | subspecies = laxifolia |
| − | |authority = A.Anon | + | | authority = A.Anon |
}}</nowiki></pre> | }}</nowiki></pre> | ||
generates →</div> | generates →</div> | ||
| Line 29: | Line 29: | ||
{{-}} | {{-}} | ||
<div style="float:left;"><pre><nowiki>{{Infraspeciesbox | <div style="float:left;"><pre><nowiki>{{Infraspeciesbox | ||
| − | |genus = Yucca | + | | genus = Yucca |
| − | |species = grandiflora | + | | species = grandiflora |
| − | |variety = tenuifolia | + | | variety = tenuifolia |
| − | |authority = B.Anon | + | | authority = B.Anon |
}}</nowiki></pre> | }}</nowiki></pre> | ||
generates → | generates → | ||
| Line 38: | Line 38: | ||
Note the use of "variety" '''not''' "varietas".</div> | Note the use of "variety" '''not''' "varietas".</div> | ||
<div style="float:right;">{{Infraspeciesbox | <div style="float:right;">{{Infraspeciesbox | ||
| − | |genus = Yucca | + | | genus = Yucca |
| − | |species = grandiflora | + | | species = grandiflora |
| − | |variety = tenuifolia | + | | variety = tenuifolia |
| − | |authority = B.Anon | + | | authority = B.Anon |
}}</div> | }}</div> | ||
{{-}} | {{-}} | ||
| Line 58: | Line 58: | ||
Note that the ''ICN'' does not allow ''Y. g.'' subsp. ''laxifolia'' var. ''tenuifolia'' as a name.</div> | Note that the ''ICN'' does not allow ''Y. g.'' subsp. ''laxifolia'' var. ''tenuifolia'' as a name.</div> | ||
<div style="float:right;">{{Infraspeciesbox | <div style="float:right;">{{Infraspeciesbox | ||
| − | |genus = Yucca | + | | genus = Yucca |
| − | |species = grandiflora | + | | species = grandiflora |
| − | |subspecies = laxifolia | + | | subspecies = laxifolia |
| − | |variety = tenuifolia | + | | variety = tenuifolia |
| − | |authority = B.Anon | + | | authority = B.Anon |
}}</div> | }}</div> | ||
{{-}} | {{-}} | ||
| Line 69: | Line 69: | ||
If for some reason it is desired to attach authorities, note carefully how this is done (at present): | If for some reason it is desired to attach authorities, note carefully how this is done (at present): | ||
<div style="float:left;"><pre><nowiki>{{Infraspeciesbox | <div style="float:left;"><pre><nowiki>{{Infraspeciesbox | ||
| − | |genus = Yucca | + | | genus = Yucca |
| − | |grandparent_authority = D.Anon | + | | grandparent_authority = D.Anon |
| − | |species = grandiflora | + | | species = grandiflora |
| − | |binomial_authority = C.Anon | + | | binomial_authority = C.Anon |
| − | |subspecies = laxiflora | + | | subspecies = laxiflora |
| − | |subspecies_authority = A.Anon | + | | subspecies_authority = A.Anon |
| − | |variety = tenuifolia | + | | variety = tenuifolia |
| − | |authority = B.Anon | + | | authority = B.Anon |
}}</nowiki></pre> | }}</nowiki></pre> | ||
generates →</div> | generates →</div> | ||
| Line 90: | Line 90: | ||
}}</div> | }}</div> | ||
{{-}} | {{-}} | ||
| − | == | + | ==Performance considerations== |
| − | As of February 2012, this template | + | 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. |
== See also == | == See also == | ||
Revision as of 14:58, 8 November 2012
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.
Contents
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 →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".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.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 →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.
See also