模板:Speciesbox/doc
此頁面是Template:Speciesbox的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
此模板文件被引用於約85,000個頁面。 為了避免造成大規模的影響,所有對此模板文件的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此模板文件中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
此模板使用Lua語言: |
此模板的文檔不存在、不全面或不能詳細描述其功能及/或其代碼中的參數。請幫助擴充並改進其文檔。 |
分類學模板
分類框模板
- 應該選用哪一個?
- 更改需要顯示的分類單元
- 將手動分類框替換為自動分類框
- 自動分類框參數一覽表
- Automatic taxobox:主要用於屬級和更高級分類單元
- Speciesbox:用於物種
- Subspeciesbox:用於動物亞種
- Infraspeciesbox:用於植物亞種或變種
- Hybridbox:用於同屬動物的雜交種
- Ichnobox:用於遺跡化石
- Oobox:用於蛋化石
- Virusbox:用於病毒等非細胞生物
- Paraphyletic group:用於並系群
- Population taxobox:用於受到高度關注的動物族群
本模板為物種資訊框模板,當某物種的父級分類(通常為屬)已存在於{{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
andspecies
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 thetaxon
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:
- "Template:Taxonomy/Genus (Subgenus)" for a zoological subgenus, e.g. Template:Taxonomy/Mus (Coelomys)
- "Template:Taxonomy/Genus subg. Subgenus" for a botanical subgenus, e.g. Template:Taxonomy/Pinus subg. Pinus
- "Template:Taxonomy/Genus sect. Section" for a botanical section, e.g. Template:Taxonomy/Pinus sect. Trifoliae
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.
參見
編輯
- An example: Template:Speciesbox/example
- Template:Taxonbar
Notes
編輯
- ^ 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
編輯
An infobox for species of organisms where {{tl|Automatic taxobox}} is used at the genus and higher ranks
此模板以參數區塊格式為優先。
參數 描述 類型 狀態 color_as color_as
沒有描述
字串 不建議使用 name name
沒有描述
字串 非必填 fossil_range fossil_range
沒有描述
不明 非必填 image image
沒有描述
檔案 建議 image_width image_width
沒有描述
字串 不建議使用 image_alt image_alt
沒有描述
字串 非必填 image_caption image_caption
沒有描述
字串 非必填 image2 image2
沒有描述
檔案 非必填 image2_width image2_width
沒有描述
字串 不建議使用 image2_alt image2_alt
沒有描述
字串 非必填 image2_caption image2_caption
沒有描述
字串 非必填 status status
沒有描述
不明 非必填 status_system status_system
沒有描述
不明 非必填 status_ref status_ref
沒有描述
不明 非必填 status2 status2
沒有描述
不明 非必填 status2_system status2_system
沒有描述
不明 非必填 status2_ref status2_ref
沒有描述
不明 非必填 extinct extinct
沒有描述
不明 非必填 classification_status classification_status
沒有描述
不明 非必填 display_parents display_parents
沒有描述
不明 非必填 greatgrandparent_authority greatgrandparent_authority
沒有描述
不明 非必填 grandparent_authority grandparent_authority
沒有描述
不明 非必填 parent_authority parent_authority
沒有描述
不明 非必填 taxon taxon
沒有描述
字串 非必填 genus genus
沒有描述
字串 非必填 subgenus subgenus
沒有描述
字串 非必填 parent parent
沒有描述
不明 非必填 species species
沒有描述
字串 非必填 authority authority
沒有描述
字串 建議 subdivision_ranks subdivision_ranks
沒有描述
字串 非必填 subdivision subdivision
沒有描述
不明 非必填 range_map range_map
沒有描述
檔案 非必填 range_map_width range_map_width
沒有描述
字串 不建議使用 range_map_alt range_map_alt
沒有描述
字串 非必填 range_map_caption range_map_caption
沒有描述
字串 非必填 range_map2 range_map2
沒有描述
檔案 非必填 range_map2_width range_map2_width
沒有描述
字串 不建議使用 range_map2_alt range_map2_alt
沒有描述
字串 非必填 range_map2_caption range_map2_caption
沒有描述
字串 非必填 synonyms synonyms
沒有描述
不明 非必填 synonyms_ref synonyms_ref
沒有描述
不明 非必填 defaultsort defaultsort
沒有描述
字串 非必填