模板:Hybridbox/doc
使用Lua语言编写: |
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
编辑An infobox for animal species hybrids
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
father | father | 无描述 | 字符串 | 可选 |
father_link | father_link | 无描述 | 字符串 | 可选 |
genus | genus | 无描述 | 字符串 | 可选 |
image | image | 无描述 | 文件 | 可选 |
image_caption | image_caption | 无描述 | 字符串 | 可选 |
link1 | link1 | 无描述 | 字符串 | 可选 |
link2 | link2 | 无描述 | 字符串 | 可选 |
mother | mother | 无描述 | 字符串 | 可选 |
mother_link | mother_link | 无描述 | 字符串 | 可选 |
name | name | 无描述 | 字符串 | 可选 |
species1 | species1 | 无描述 | 字符串 | 可选 |
species2 | species2 | 无描述 | 字符串 | 可选 |
status | status | 无描述 | 字符串 | 可选 |
synonyms | synonyms | 无描述 | 字符串 | 可选 |