Jump to content

Template:Infobox animal/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Animals have sexes, not genders (that's a human social construct). |gender= still works as a parameter alias of |sex=
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 4: Line 4:
{{About|the infobox used for specific animals with given names, including individual pets|the animal species|Template:Taxobox#Animal species}}
{{About|the infobox used for specific animals with given names, including individual pets|the animal species|Template:Taxobox#Animal species}}


Meredith Grey
==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.
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.


{{Parameter names example | name | image | image_size <!-- | image size | imagesize --> | image_upright | landscape | alt | caption | othername | species | breed | sex | birth_name | birth_date | birth_place | hatch_name | hatch_date | hatch_place | death_date | death_place | death_cause | resting_place | resting_place_coordinates | nationality | occupation | employer | role | years_active | known_for <!-- | known --> | tricks | title | term | predecessor | successor | owner | residence | parents | mate | children <!-- | weight_kg | weight_st | weight_lb --> | weight <!-- | height_cm | height_ft | height_in --> | height | appearance | namedafter | awards | website | module | module2 | module3 | module4 | module5 | footnotes }}
{{Parameter names example | name | image | image_size <!-- | image size | imagesize --> | image_upright | landscape | alt | caption | othername | species | breed | sex | birth_name | birth_date October 2011| birth_place | hatch_name | hatch_date | hatch_place | death_date | death_place | death_cause | resting_place | resting_place_coordinates | nationality | occupation | employer | role | years_active | Siblings (Half sister Olivia Benson) (Half brother Benjamin Button) | known --> | tricks | title | term | predecessor | successor | owner | residence | parents Mother (Taylor Swift) Father (Connor Kennedy) | mate | children <!-- | weight_kg | weight_st | weight_lb --> | weight <!-- | height_cm | height_ft | height_in --> | height | appearance | namedafter | awards | website | module | module2 | module3 | module4 | module5 | footnotes }}


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

Revision as of 10:32, 12 July 2024

Meredith Grey

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_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}}}
Training{{{tricks}}}
Title{{{title}}}
Term{{{term}}}
Predecessor{{{predecessor}}}
Successor{{{successor}}}
Owner{{{owner}}}
Residence{{{residence}}}
Mate(s){{{mate}}}
Offspring{{{children}}}
Weight{{{weight}}}
Height{{{height}}}
Appearance{{{appearance}}}
Named after{{{namedafter}}}
Awards{{{awards}}}
{{{module}}}
{{{module2}}}
{{{module3}}}
{{{module4}}}
{{{module5}}}
{{{website}}}
Notes
{{{footnotes}}}
{{Infobox animal
| name                    = 
| image                   = 
| image_upright           = 
| landscape               = <!-- yes, if wide image, otherwise leave blank -->
| alt                     = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
| caption                 = 
| othername               = 
| species                 = 
| breed                   = 
| sex                     = 
| birth_name              = <!-- (or hatch_name= value; for non-mammals) -->
| birth_date              = <!-- (or hatch_date= value; for non-mammals) -->
| birth_place             = <!-- (or hatch_place= value; for non-mammals)-->
| death_date              = 
| death_place             = 
| death_cause             =
| resting_place           = 
| resting_place_coordinates = 
| nationality             = <!-- use only when necessary per [[WP:INFONAT]] -->
| occupation              = 
| employer                = 
| role                    = 
| years_active            = 
| known_for               = 
| tricks                  = 
| awards                  = 
| title                   = 
| term                    = 
| predecessor             = 
| successor               = 
| owner                   = 
| residence               = 
| parents                 = 
| mate                    = 
| children                = 
| weight                  = 
| height                  = 
| appearance              = 
| namedafter              = 
| module                  = 
| module2                 = 
| module3                 = 
| module4                 = 
| module5                 = 
| website                 = 
| footnotes               = 
}}

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