模板:Hybridbox

維基教科書,自由的教學讀本
文檔圖示 模板文檔[檢視] [編輯] [歷史] [清除快取]

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

沒有描述

字串選填