跳转到内容

Template:Hybridbox/doc

维基教科书,自由的教学读本

Template:Automatic taxobox/doc/nav/boxed This template is used to display a taxobox for a hybrid of 2 species within a single genus whose taxonomy is stored in the taxonomy 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).

Usage

[编辑]

Usage is similar to Template:Speciesbox (with one slight variation noted below).

Cases in which the gender of each species parent is irrelevant

[编辑]

Template:Taxobox/core In this case, use the genus, species1 and species2; if the article on either species is not at the scientific name, use link1 and/or link2. For example, the taxobox to the right was formed by the following code:

{{Hybridbox
 | name = 混血犛牛
 | genus = Bos
 | species1 = grunniens
 | link1 = 牦牛
 | species2 = primigenius
 | link2 = 黃牛
}}

Cases in which the gender of each species parent is relevant

[编辑]

Template:Taxobox/core For some hybrids, which species is male and which is female is a part of the definition of the hybrid. For example, an animal whose father is a lion and mother is a tiger would be called a liger, while if the father is a tiger and the mother is a lioness the animal would be called a tigon. In this case, the species names should use father and mother, and the links would be father_link and mother_link. For example, the taxobox to the right was formed by the following code:

{{Hybridbox
 | name = 獅虎獸
 | genus = Panthera
 | father = leo
 | father_link = 獅
 | mother = tigris
 | mother_link = 虎
}}

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.

Template Data

[编辑]
这是用于新版可视化编辑器及其他工具的模板数据文档。

Hybridbox模板数据

An infobox for animal species hybrids

模板参数

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

参数描述类型状态
fatherfather

无描述

字符串可选
father_linkfather_link

无描述

字符串可选
genusgenus

无描述

字符串可选
imageimage

无描述

文件可选
image_captionimage_caption

无描述

字符串可选
link1link1

无描述

字符串可选
link2link2

无描述

字符串可选
mothermother

无描述

字符串可选
mother_linkmother_link

无描述

字符串可选
namename

无描述

字符串可选
species1species1

无描述

字符串可选
species2species2

无描述

字符串可选
statusstatus

无描述

字符串可选
synonymssynonyms

无描述

字符串可选