Template:Hybridbox/doc: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
en>WOSlinker
m (syntaxhighlight lang="wikitext")
 
m (1 revision imported)
 

Latest revision as of 00:31, 20 June 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

Dzo
Scientific classification Edit this classification
Kingdom: Animalia
Phylum: Chordata
Class: Mammalia
Order: Artiodactyla
Family: Bovidae
Subfamily: Bovinae
Tribe: Bovini
Genus: Bos
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: <syntaxhighlight lang="wikitext">

Dzo
Scientific classification Edit this classification
Kingdom: Animalia
Phylum: Chordata
Class: Mammalia
Order: Artiodactyla
Family: Bovidae
Subfamily: Bovinae
Tribe: Bovini
Genus: Bos
Species:

</syntaxhighlight>

Cases in which the sex of each species parent is relevant

Liger
Scientific classification Edit this classification
Kingdom: Animalia
Phylum: Chordata
Class: Mammalia
Order: Carnivora
Suborder: Feliformia
Family: Felidae
Subfamily: Pantherinae
Genus: Panthera
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: <syntaxhighlight lang="wikitext">

Liger
Scientific classification Edit this classification
Kingdom: Animalia
Phylum: Chordata
Class: Mammalia
Order: Carnivora
Suborder: Feliformia
Family: Felidae
Subfamily: Pantherinae
Genus: Panthera
Species:

</syntaxhighlight>

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