跳转到内容

模板:Speciesbox/doc

维基百科,自由的百科全书

本模板为物种信息框模板,当某物种的父级分类(通常为)已存在于{{Taxonomy}}(自动分类模板系统)时适用。本模板生成的物种名为标准的二名法格式,当需要显示特殊格式的物种名称(例如:Halictus? savenyei)时,请使用{{Automatic taxobox}}替代本模板。

您需要熟悉自动分类系统,这样方能更好地使用本模板,详见:维基百科:自动生物分类框系统

本模板基于种级以上分类层级(通常为属)的自动分类模板{{Taxonomy}}而运作。

使用方法

[编辑]

此模板的用法与Template:Automatic taxobox基本相同,(有一个细微的变化,如下所示)。 使用此模板时需要考虑五种主要情况:

  • 简单情况,在这种情况下,物种不是杂交种,属名是唯一的,因此不需要 × 符号,该物种没有在不同的生物界之间重复,且该属内不只有这一种物种。
  • 杂交种名,在这种情况下,需要使用 × 符号 。
  • 属名在不同生物界重复,在这种情况下,由于属名在不同的生物界之间重复,需要在分类中区分生物界(例如 Acanthocarpus(plant)Acanthocarpus(crab))。
  • 单种属,在这种情况下,物种和属的文章合并,文章标题为属名。
  • 上级分类单元不是属,在这种情况下因为无法从双名法中推导出上级分类单元,必须指定上级分类单元。

Simple cases

[编辑]

If the article is about a species whose binomial and genus name are both straightforward (e.g. no rank between the species and its genus, no hybrid symbol, no parenthesized disambiguation in the genus name), then the minimum requirement is to specify the taxon parameter:[note 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 – deprecated, use |parent=see below
  • |extinct=yes if the species (but not the genus) is extinct (if the genus is extinct, this should be marked in its taxonomy template, so will be picked up automatically); true is also accepted.

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.

简单范例

[编辑]
  • Page at the binomial name; displayed taxobox to have the binomial name as its title, e.g. 女王凤凰螺.
{{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 same common name as its title, e.g. 韭菜.
{{Speciesbox
| name = Garlic chives --optional
| taxon = Allium tuberosum --essential
... --other optional parameters, e.g. for an image
}}

Hybrid species

[编辑]

Care is needed 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
| taxon = Polygonatum {{hybrid}} hybridum
| ...
}}

Notes:

  • Use {{hybrid}} rather than the × character in the value of the taxon 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, 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:

{{Speciesbox
| genus = Acanthocarpus (plant)
| species = preissii
| ...
}}

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.

Monospecific genera

[编辑]

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 (i.e. the species)
|... --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.

Parent taxon is not the genus

[编辑]

By default, the Speciesbox template uses the genus name as the name of the parent taxon. If this is not the case, because the parent taxon is at a rank between the species and its genus, such as subgenus or botanical section, then use:

  • |parent=parent_taxon

"Template:Taxonomy/parent_taxon" must then exist. Conventions for the name of a taxonomy template at a rank between species and genus include:

Thus if a zoological subgenus is to be shown, then the taxobox is set up in this way:

{{Speciesbox
| name = House mouse
| parent = Mus (Mus)
| taxon = Mus musculus
| ...
}}

标题斜体

[编辑]

The template can normally determine whether the page title matches the species or the genus in the taxobox, and if so outputs {{italic title}}, so usually it is not necessary to add this template. In a very 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

[编辑]

The template will generate a taxobox which will display correctly only if the taxonomy for the genus (or |parent=) has already been created (i.e. "Template:Taxonomy/genusname" or "Template:Taxonomy/parent" 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.

参见

[编辑]

Notes

[编辑]
  1. ^ If the taxon or genus/species parameters are omitted, the template will try to use the page title as the taxon name. This is deprecated, since it is not self-documenting, so is confusing to editors not familiar with the template, and causes problems if the page is moved.

Template Data

[编辑]
以下是该模板的模板数据,适用于可视化编辑器等工具。

Speciesbox模板数据

An infobox for species of organisms where {{tl|Automatic taxobox}} is used at the genus and higher ranks

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
color_ascolor_as

无描述

字符串弃用
namename

无描述

字符串可选
fossil_rangefossil_range

无描述

未知可选
imageimage

无描述

文件推荐
image_widthimage_width

无描述

字符串弃用
image_altimage_alt

无描述

字符串可选
image_captionimage_caption

无描述

字符串可选
image2image2

无描述

文件可选
image2_widthimage2_width

无描述

字符串弃用
image2_altimage2_alt

无描述

字符串可选
image2_captionimage2_caption

无描述

字符串可选
statusstatus

无描述

未知可选
status_systemstatus_system

无描述

未知可选
status_refstatus_ref

无描述

未知可选
status2status2

无描述

未知可选
status2_systemstatus2_system

无描述

未知可选
status2_refstatus2_ref

无描述

未知可选
extinctextinct

无描述

未知可选
classification_statusclassification_status

无描述

未知可选
display_parentsdisplay_parents

无描述

未知可选
greatgrandparent_authoritygreatgrandparent_authority

无描述

未知可选
grandparent_authoritygrandparent_authority

无描述

未知可选
parent_authorityparent_authority

无描述

未知可选
taxontaxon

无描述

字符串可选
genusgenus

无描述

字符串可选
subgenussubgenus

无描述

字符串可选
parentparent

无描述

未知可选
speciesspecies

无描述

字符串可选
authorityauthority

无描述

字符串推荐
subdivision_rankssubdivision_ranks

无描述

字符串可选
subdivisionsubdivision

无描述

未知可选
range_maprange_map

无描述

文件可选
range_map_widthrange_map_width

无描述

字符串弃用
range_map_altrange_map_alt

无描述

字符串可选
range_map_captionrange_map_caption

无描述

字符串可选
range_map2range_map2

无描述

文件可选
range_map2_widthrange_map2_width

无描述

字符串弃用
range_map2_altrange_map2_alt

无描述

字符串可选
range_map2_captionrange_map2_caption

无描述

字符串可选
synonymssynonyms

无描述

未知可选
synonyms_refsynonyms_ref

无描述

未知可选
defaultsortdefaultsort

无描述

字符串可选