模板: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 | 沒有描述 | 字串 | 非必填 |