Difference between revisions of "Template:Infobox animal/doc"
Jump to navigation
Jump to search
imported>Iamreallygoodatcheckers (→Usage) |
|||
| (27 intermediate revisions by 13 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
| − | {{ | + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} |
| + | {{About|the infobox used for specific animals with given names, including individual pets|the animal species|Template:Taxobox#Animal species}} | ||
| + | |||
==Usage== | ==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. | ||
| − | <pre>{{Infobox animal | + | {{Parameter names example | name | image | image_size <!-- | image size | imagesize --> | image_upright | alt | caption | othername | species | breed | gender | 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 }} |
| + | |||
| + | <pre style="overflow: auto;"> | ||
| + | {{Infobox animal | ||
| name = | | name = | ||
| image = | | image = | ||
| − | | | + | | image_upright = |
| caption = | | caption = | ||
| − | |||
| othername = | | othername = | ||
| species = | | species = | ||
| breed = | | breed = | ||
| gender = | | gender = | ||
| − | | birth_date = | + | | birth_name = (or hatch_name= value; for non-mammals) |
| − | | birth_place = | + | | birth_date = (or hatch_date= value; for non-mammals) |
| + | | birth_place = (or hatch_place= value; for non-mammals) | ||
| death_date = | | death_date = | ||
| death_place = | | death_place = | ||
| + | | death_cause = | ||
| resting_place = | | resting_place = | ||
| resting_place_coordinates = | | resting_place_coordinates = | ||
| Line 27: | Line 33: | ||
| role = | | role = | ||
| years_active = | | years_active = | ||
| − | | | + | | known_for = |
| tricks = | | tricks = | ||
| awards = | | awards = | ||
| Line 35: | Line 41: | ||
| successor = | | successor = | ||
| owner = | | owner = | ||
| + | | residence = | ||
| parents = | | parents = | ||
| + | | mate = | ||
| children = | | children = | ||
| weight = | | weight = | ||
| Line 41: | Line 49: | ||
| appearance = | | appearance = | ||
| namedafter = | | namedafter = | ||
| + | | module = | ||
| + | | module2 = | ||
| + | | module3 = | ||
| + | | module4 = | ||
| + | | module5 = | ||
| website = | | website = | ||
| − | }}</pre> | + | | footnotes = |
| + | }} | ||
| + | </pre> | ||
| + | {{Clear}} | ||
== Parameters == | == Parameters == | ||
| Line 51: | Line 67: | ||
|- | |- | ||
| name | | name | ||
| − | | The given name of the animal. Use the common name, typically name of article, if multiple names are used. If omitted or blank it defaults to the name of the article | + | | 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 | ||
| Line 61: | Line 74: | ||
| image_size | | image_size | ||
| For example, 150px | | For example, 150px | ||
| + | |- | ||
| + | | image_upright | ||
| + | | Image scaling factor, e.g. 1.2 for 120% | ||
|- | |- | ||
| caption | | caption | ||
| Line 78: | Line 94: | ||
|- | |- | ||
| gender | | gender | ||
| − | | The [[ | + | | The [[sex]] of the animal. |
|- | |- | ||
| birth_date | | birth_date | ||
| Line 91: | Line 107: | ||
| death_place | | death_place | ||
| Place of death: town, city, state, country. | | 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 | | resting_place | ||
| Line 111: | Line 130: | ||
|- | |- | ||
| years_active | | years_active | ||
| − | | The years that the animal was active in its career. Use the format: <blockquote><nowiki>year of first professional performance</nowiki> | + | | The years that the animal was active in its career. Use the format: <blockquote><nowiki>year of first professional performance</nowiki>–<nowiki>year of final professional appearance</nowiki></blockquote>Note: If still active, use "present" in place of the end year. |
|- | |- | ||
| known | | known | ||
| Line 117: | Line 136: | ||
|- | |- | ||
| tricks | | tricks | ||
| − | | Notable tricks the animal has been [[animal training|trained]] to perform. | + | | Notable tricks the animal has been [[animal training|trained]] to perform. |
|- | |- | ||
| − | | | + | | awards |
| Any awards won. | | Any awards won. | ||
|- | |- | ||
| Line 136: | Line 155: | ||
| owner | | owner | ||
| The animal's owner. | | The animal's owner. | ||
| + | |- | ||
| + | | residence | ||
| + | | Place of residence | ||
|- | |- | ||
| parents | | parents | ||
| The names of the animal's ''notable'' parent(s) (<nowiki><br /></nowiki>). | | The names of the animal's ''notable'' parent(s) (<nowiki><br /></nowiki>). | ||
| + | |- | ||
| + | | mate | ||
| + | | The names of ''especially notable'' mate(s) of the animal(<nowiki><br /></nowiki>). | ||
|- | |- | ||
| children | | children | ||
| Line 158: | Line 183: | ||
| The animal's official website. Use only the link such as <nowiki>http://www.example.com/</nowiki>. Do not use syntax such as <del><nowiki>[http://www.example.com/]</nowiki></del>. | | The animal's official website. Use only the link such as <nowiki>http://www.example.com/</nowiki>. Do not use syntax such as <del><nowiki>[http://www.example.com/]</nowiki></del>. | ||
|- | |- | ||
| + | | {{ubl | '''module''' | '''module2''' | '''module3''' | '''module4''' | '''module5'''}} | ||
| + | | Used for embedding other infoboxes into this one. | ||
|} | |} | ||
| Line 163: | Line 190: | ||
{{UF-species}} | {{UF-species}} | ||
| − | <includeonly> | + | == Tracking category == |
| − | <!-- | + | * {{clc|Pages using infobox animal with unknown parameters}} |
| − | + | ||
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- Categories below this line and interwikis at Wikidata --> | ||
[[Category:Animal infobox templates|animal]] | [[Category:Animal infobox templates|animal]] | ||
| − | + | [[Category:Templates that add a tracking category|{{PAGENAME}}]] | |
| − | + | }}</includeonly> | |
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </includeonly> | ||
Latest revision as of 08:28, 25 December 2019
| This is a documentation subpage for Template:Infobox animal. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Script error: No such module "about".
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.
Template:Parameter names example
{{Infobox animal
| name =
| image =
| image_upright =
| caption =
| othername =
| species =
| breed =
| gender =
| 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 =
| 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 |
| image_size | For example, 150px |
| image_upright | Image scaling factor, e.g. 1.2 for 120% |
| 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. |
| gender | 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: 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 |
| Template:Ubl | Used for embedding other infoboxes into this one. |
Microformat
Tracking category