Module:TaxonItalics/doc

Module:TaxonItalics

Purpose
The module is primarily intended for use by the automated taxobox system. It supports the correct italicization of scientific names. Botanical (ICNafp) names may contain "connecting terms"; these must not be italicized. The hybrid symbol, ×, should also not be italicized. The module optionally wikilinks and abbreviates italicized names.

For non-virus taxa, italics are used at the rank of genus or below. The module does not decide whether a scientific name should be italicized. Use for this purpose.

Usage

 * – italicizes a taxon name
 * – italicizes a taxon name, wikilinking the italicized output to the unchanged input
 * – italicizes a taxon name, abbreviating all but the last part to the first letter
 * – italicizes a taxon name, treating any parenthesized part as a disambiguation term, and not italicizing it

The parameters can be combined. It can also be used via Taxon italics.

Just italicized
Botanical names may contain only one infraspecific epithet; a string like "Fragaria vesca subsp. vesca f. semperflorens" is a classification, not a name, and is not handled by the module.
 * Connecting terms
 * Pinus subg. Pinus →
 * P. subgenus Pinus →
 * P. subsect. Pinaster →
 * Acer tataricum subsp. ginnala →
 * Aster ericoides var. ericoides →
 * A. ericoides varietas ericoides →
 * A. e. subvar. ericoides →


 * Hybrid symbols
 * Elaeagnus × submacrophylla →
 * ×Beallara →
 * &amp;times; Beallara →
 * Beallara →

Linked
Using yes
 * Populus sect. Aigeiros →
 * Elaeagnus × submacrophylla →

Abbreviated
Using yes
 * Populus sect. Aigeiros →
 * Acer tataricum subsp. ginnala →
 * [also linked] × Sorbaronia fallax →
 * [also linked] Elaeagnus × submacrophylla →
 * Elaeagnus ×submacrophylla →
 * Elaeagnus submacrophylla →

Disambiguation terms
By default, a parenthesized part of a taxon name is assumed to be a subgenus name, and is italicized: To treat a parenthesized part as a disambiguation term, use yes
 * Varanus (Hapturosaurus) →
 * Caia (plant) → –
 * Caia (plant) →
 * (also linked) Caia (plant) →

For even more examples, see the testcases.