Template:Speciesbox/doc

From Investigations

This template is used to display a taxobox for a species whose taxonomy is stored in the taxonony templates of the automated taxobox system, provided that no ranks between species and genus are to be displayed (since it works by looking for the parent taxon of the genus). If ranks between species and genus are to be displayed, use Template:Automatic taxobox.

Usage

Usage is basically the same as Template:Automatic taxobox (with one slight variation noted below).

There are three main cases to consider in using this template:

Simple cases

If the page is located at the species' binomial name and the title at the top of the displayed taxobox is to be the same (e.g. Anatoma crispata), the name of the species does not have to be supplied; the displayed taxobox will be completed automatically from the page name.

Otherwise (e.g. Psychedelic frogfish), you need to specify:

  • |taxon=name of the species without any formatting (e.g. Quercus major)
(Alternatively you can supply the genus name and specific epithet separately – this is different from {{Automatic taxobox}}:
  • |genus=name of the genus without any formatting (e.g. Quercus)
  • |species=specific epithet without any formatting (e.g. major)
If the page is at the genus name (e.g. the monospecific Nectocaris pteryx), then you don't need to specify |genus=, since it will be picked up from the page title.)

If necessary, you can also use

  • |subgenus=link to subgenus
  • |extinct=yes if the species (but not the genus) is extinct.

It's not necessary to include {{italic title}} in the article; this will be added automatically by the speciesbox template if needed.

For species names containing the 'hybrid symbol', ×, see below.

Simple examples

  • Page at the binomial name; displayed taxobox to have the binomial name as its title, e.g. Allium galanthum.
{{Speciesbox
| taxon = Allium galanthum --optional
| authority = Kar. & Kir. --optional; this is the binomial authority
... --other optional parameters, e.g. for an image
}}
  • Page at the binomial name; displayed taxobox to have the common name as its title, e.g. Allium moly.
{{Speciesbox
| name = Golden Garlic --required
| taxon = Allium moly --optional
| authority = L. --optional; this is the binomial authority
... --other optional parameters, e.g. for an image
}}
  • Page at the common name; displayed taxobox to have the common name as its title, e.g. Garlic chives.
{{Speciesbox
| name = Garlic chives --required
| taxon = Allium tuberosum --required
... --other optional parameters, e.g. for an image
}}

Hybrid species

It is slightly tricky to obtain the correct italicization of hybrid species names in the displayed taxobox since the hybrid sign, ×, should not be italicized, whereas the genus and specific epithet should be. The example below shows one way of achieving the desired effect. Assume that the name of the article is "Polygonatum × hybridum", which should display as the title "Polygonatum × hybridum".

{{DISPLAYTITLE:''Polygonatum'' × ''hybridum''}}{{Speciesbox
| genus = Polygonatum
| species = {{hybrid}} hybridum
| ...
}}

Notes:

  • Do not put a line break between {{DISPLAYTITLE:...}} and {{Speciesbox|...}}; it causes the article to start with a blank line.
  • In this case, do not use |taxon=; it does not cope with {{hybrid}}. Instead use |genus= and |species=.
  • Use {{hybrid}} rather than the × character in the value of the species parameter; this ensures that it will not be italicized in the displayed taxobox.
  • In the article body, you can either use ''Polygonatum'' × ''hybridum'' or ''Polygonatum {{hybrid}} hybridum'' to obtain the correct italicization.

Genus names duplicated across kingdoms

A special case is where the name of the genus is duplicated in different kingdoms, e.g. Acanthocarpus is used for a plant and an animal. Consider the page Acanthocarpus preissii. The taxobox has to be set up in this way:[1]

{{Italic title}}{{Speciesbox
| genus = Acanthocarpus (plant)
| species = preissii
| name = ''Acanthocarpus preissii''
| ...
}}

Do not put a line break between {{Italic title}} and {{Speciesbox...}}; it causes the article to start with a blank line.

The corresponding taxonomy template for the genus, Template:Taxonomy/Acanthocarpus (plant), contains the line:

| link = Acanthocarpus (plant)|Acanthocarpus

to ensure that wikilinks are to "Acanthocarpus (plant)" whereas the displayed genus name is "Acanthocarpus".

Note that this approach is only necessary when the disambiguation is needed because genus names are duplicated across kingdoms. Thus Liriope muscari can have its automatic taxobox set up in the usual way, since Liriope (genus) is only qualified to distinguish it from non-biological uses of "Liriope".

Requirement for correct display

The template will generate a taxobox which will display correctly only if the taxonomy for the genus has already been created (i.e. Template:Taxonomy/genusname already exists). If it does not, you will be asked to create it. One way is to look for the "fix" link and open it.

See also

Notes

  1. The string created from the genus and species parameters is "Acanthocarpus (plant) preisii". As this is different from the page title, both {{Italic title}} and the '' around the value of the para parameter are need to produce italic output.