Template:Hybridbox/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Peter coxhead
("sex" not "gender")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:12, 18 January 2023

Documentation for the automated taxobox system

Taxonomy templates

Taxobox templates

This template is used to display a taxobox for a hybrid of two animal 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).

For plants with nothospecies names (e.g. Chrysanthemum × morifolium) use {{Speciesbox}}. This template is used for animals such as the liger, Panthera leo × P. tigris.

Usage

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

Cases in which the sex of each species parent is irrelevant

Script error: No such module "Autotaxobox".
Dzo
Scientific classification edit
Species:

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     = Dzo
 | genus    = Bos
 | species1 = grunniens
 | link1    = Yak
 | species2 = primigenius
 | link2    = Aurochs
}}

Cases in which the sex of each species parent is relevant

Script error: No such module "Autotaxobox".
Liger
Scientific classification edit
Species:

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        = Liger
 | genus       = Panthera
 | father      = leo
 | father_link = Lion
 | mother      = tigris
 | mother_link = Tiger
}}

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Hybridbox

An infobox for animal species hybrids

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Stringoptional
imageimage

no description

Fileoptional
image_captionimage_caption

no description

Stringoptional
statusstatus

no description

Stringoptional
genusgenus

no description

Stringoptional
fatherfather

no description

Stringoptional
father_linkfather_link

no description

Stringoptional
mothermother

no description

Stringoptional
mother_linkmother_link

no description

Stringoptional
link1link1

no description

Stringoptional
link2link2

no description

Stringoptional
species1species1

no description

Stringoptional
species2species2

no description

Stringoptional
synonymssynonyms

no description

Stringoptional