Template:Infobox animal/doc: Difference between revisions

From The Democratikan Wiki
(Animals have sexes, not genders (that's a human social construct). |gender= still works as a parameter alias of |sex=)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:12, 15 February 2024

Usage

The infobox may be added by pasting the template as shown below into an article. All fields are optional and unused parameter names can be left blank or omitted.

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
Other name(s){{{othername}}}
Species{{{species}}}
Breed{{{breed}}}
Sex{{{sex}}}
Born{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
Hatched{{{hatch_name}}}
{{{hatch_date}}}
{{{hatch_place}}}
Died{{{death_date}}}
{{{death_place}}}
Cause of death{{{death_cause}}}
Resting place{{{resting_place}}}
{{{resting_place_coordinates}}}
Nation from{{{nationality}}}
Occupation{{{occupation}}}
Employer{{{employer}}}
Notable role{{{role}}}
Years active{{{years_active}}}
Known for{{{known_for}}}
Training{{{tricks}}}
Title{{{title}}}
Term{{{term}}}
Predecessor{{{predecessor}}}
Successor{{{successor}}}
Owner{{{owner}}}
Residence{{{residence}}}
Parent(s){{{parents}}}
Mate(s){{{mate}}}
Offspring{{{children}}}
Weight{{{weight}}}
Height{{{height}}}
Appearance{{{appearance}}}
Named after{{{namedafter}}}
Awards{{{awards}}}
{{{module}}}
{{{module2}}}
{{{module3}}}
{{{module4}}}
{{{module5}}}
{{{website}}}
Notes
{{{footnotes}}}

<syntaxhighlight lang="wikitext" style="overflow: auto;"> </syntaxhighlight>

Parameters

Parameter Explanation
name The given name of the animal. Use the animal's common name, typically the name of article, if multiple names are used. If omitted or blank it defaults to the name of the article.
image Image file name. Use only the file name such as abc.jpg, xyz.png, 123.gif, etc. Do not use syntax such as [[File:abc.jpg]] or [[File:abc.jpg|200px]].
image_size For example, 150px
image_upright Image scaling factor, e.g. 1.2 for 120%
landscape Set to "yes" when using wide, short images. The image height (rather than width) will be limited to 200 pixels.
alt The alt attribute for the image, for readers who cannot see the image. See WP:ALT.
caption Photograph caption. Try to include date of photo and the photographer.
birth_name Name at birth if it has changed since birth.
othername Other appellation(s) that the animal has been known by.
species The scientific (aka "Latin") species name of the animal.
breed The breed of the animal.
sex The sex of the animal.
birth_date Date of birth. Consider using {{birth date and age}} if the animal is living, otherwise use {{birth date}}.
birth_place Place of birth: town, city, state, country.
death_date Date of death. Consider using {{death date and age}}.
death_place Place of death: town, city, state, country.
death_cause Should be clearly defined, and should only be included when the cause of death has significance for the subject's notability
resting_place Name of cemetery; place of ash-scattering, etc.
resting_place_coordinates Coordinates of cemetery; place of ash-scattering, etc. using {{coord}} with display=inline,title. For graves, please be as precise as possible.
nationality The country the animal is from.
occupation The occupation(s) animal is known for, e.g. pet, mouser, actor.
employer The employer of the animal.
role If the animal is/was an actor, insert any famous roles the animal is known for.
years_active The years that the animal was active in its career. Use the format:

year of first professional performance–year of final professional appearance

Note: If still active, use "present" in place of the end year.
known A brief description of why the animal is notable.
tricks Notable tricks the animal has been trained to perform.
awards Any awards won.
title Any title the animal has held.
term The years the animal held the title listed above.
predecessor The name of the animal who previously held the title listed above.
successor The name of the animal who subsequently held the title listed above.
owner The animal's owner.
residence Place of residence
parents The names of the animal's notable parent(s) (<br />).
mate The names of especially notable mate(s) of the animal(<br />).
children The names of especially notable offspring of the animal(<br />).
weight The weight of the animal (should also include the date).
height The height of the animal (should also include the date).
appearance The appearance of the animal.
namedafter Who or what the animal was named after.
website The animal's official website. Use only the link such as http://www.example.com/. Do not use syntax such as [http://www.example.com/].
  • module
  • module2
  • module3
  • module4
  • module5
Used for embedding other infoboxes into this one.

Microformat

This template emits a "species" (or "biota") microformat.

The microformat is created by the use of class="biota", and classes for individual taxonomic ranks, such as class="domain" in a span around {{{domain}}} (full list). Please do not change or remove those classes other than as part of development of the microformat. For background information, see microformats on Wikipedia and the microformat specification.

Tracking category