Nodyn:Speciesbox

Oddi ar Wicipedia
Documentation icon Dogfennaeth nodyn[gweld] [golygu] [hanes] [puro]

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.

Using this template effectively requires some familiarity with the automated taxobox system; see the introduction to the system.

Usage[golygu cod]

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

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

Simple cases[golygu cod]

If the article is about a species whose binomial and genus name are both straightforward (e.g. no hybrid symbol, no parenthesized disambiguation in the genus name), then the minimum requirement is to specify the taxon parameter:[1]

  • |taxon=name of the species without any formatting (e.g. Quercus major, Lobatus gigas)
(Alternatively you can use the genus and species parameters separately – this is different from {{Automatic taxobox}}:
  • |genus=name of the genus without any formatting (e.g. Quercus, Lobatus)
  • |species=specific epithet or name without any formatting (e.g. major, gigas)
This slightly reduces the processing needed.)

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 more complicated cases, see the other sections below.

Simple examples[golygu cod]

  • Page at the binomial name; displayed taxobox to have the binomial name as its title, e.g. Lobatus gigas.
{{Speciesbox
| taxon = Lobatus gigas
| authority = (Linnaeus, 1758) --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 if title of taxobox ≠ taxon name
| taxon = Allium moly
| 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 --essential
... --other optional parameters, e.g. for an image
}}

Hybrid species[golygu cod]

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 rest of the binomial 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[golygu cod]

A special case is where the name of the genus is duplicated in different kingdoms, e.g. Acanthocarpus, which is used for a plant and a crab. The taxonomy template for the plant has to be at Template:Taxonomy/Acanthocarpus (plant) to allow there to be a separate page at "Template:Taxonomy/Acanthocarpus (crab)". Consider the page Acanthocarpus preissii. The taxobox has to be set up in this way:[2]

{{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". Hence the taxonomy template can be at Template:Taxonomy/Liriope.

Monospecific genera[golygu cod]

Another special case is where the article is about a genus with only one species. The article will be at the genus name, but the final taxon to be displayed in the taxobox should be the species. An example is Aphyllanthes, with the sole species Aphyllanthes monspeliensis.

{{Speciesbox
|taxon = Aphyllanthes monspeliensis
|parent_authority = L. --authority for genus
|authority = L. --authority for binomial
|... --other optional parameters
}}

The use of the Speciesbox template with the taxon parameter set to the species name ensures that the taxobox ends with the binomial name even though the page title is the genus name. The mediawiki software automatically replaces the generated wikilink [[Aphyllanthes]] by bold text since it goes to the same page. In this case we want to display the authority for both the species and the genus, since there is no other article. The parameters parent_authority, grandparent_authority, etc. are the way to display authorities up the classification hierarchy.

Italicizing the article title[golygu cod]

The template checks whether the page title matches the taxon that is the target of the taxobox and if so outputs {{italic title}}, so it is not necessary to add this template. In a few cases the automatic italicization will be wrong (e.g. if the article is at the English name and this is the same as the genus name). Automatic italicization can be over-ridden by setting |italic_title=no.

Requirement for correct display[golygu cod]

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[golygu cod]

Notes[golygu cod]

  1. If the taxon parameter is omitted, the template will try to use the page title as the taxon name. This is deprecated, since it can cause template expansion depth problems.
  2. 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 name parameter are needed to produce italic output.