Difference between revisions of "Template:Infraspeciesbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
(→‎See also: not needed b/c of navbox)
imported>Peter coxhead
Line 4: Line 4:
 
'''[[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]].
 
'''[[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 (varietas) or the combination of the two.
  
 
==Usage==
 
==Usage==
Line 34: Line 34:
 
| genus = Yucca
 
| genus = Yucca
 
| species = grandiflora
 
| species = grandiflora
| variety = tenuifolia
+
| varietas = tenuifolia
 
| authority = B.Anon
 
| authority = B.Anon
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
generates →
 
generates →
  
Note the use of "variety" '''not''' "varietas".</div>
+
(The parameter "variety" can be used in place of "varietas".)</div>
 
<div style="float:right;">{{Infraspeciesbox
 
<div style="float:right;">{{Infraspeciesbox
 
| genus = Yucca
 
| genus = Yucca
 
| species = grandiflora
 
| species = grandiflora
| variety = tenuifolia
+
| varietas = tenuifolia
 
| authority = B.Anon
 
| authority = B.Anon
 
}}</div>
 
}}</div>
Line 54: Line 54:
 
|species = grandiflora
 
|species = grandiflora
 
|subspecies = laxifolia
 
|subspecies = laxifolia
|variety = tenuifolia
+
|varietas = tenuifolia
 
|authority = B.Anon
 
|authority = B.Anon
 
}}</nowiki></pre>
 
}}</nowiki></pre>
Line 64: Line 64:
 
| species = grandiflora
 
| species = grandiflora
 
| subspecies = laxifolia
 
| subspecies = laxifolia
| variety = tenuifolia
+
| varietas = tenuifolia
 
| authority = B.Anon
 
| authority = B.Anon
 
}}</div>
 
}}</div>
Line 78: Line 78:
 
| subspecies = laxiflora
 
| subspecies = laxiflora
 
| subspecies_authority = A.Anon
 
| subspecies_authority = A.Anon
| variety = tenuifolia
+
| varietas = tenuifolia
 
| authority = B.Anon
 
| authority = B.Anon
 
}}</nowiki></pre>
 
}}</nowiki></pre>
Line 89: Line 89:
 
|subspecies = laxiflora
 
|subspecies = laxiflora
 
|subspecies_authority = A.Anon
 
|subspecies_authority = A.Anon
|variety = tenuifolia
+
|varietas = tenuifolia
 
|authority = B.Anon
 
|authority = B.Anon
 
}}</div>
 
}}</div>

Revision as of 14:20, 21 February 2017

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, 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
| varietas = 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.