Template:Infobox animal: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Infobox
{{Infobox|child={{{child|{{{embed|}}}}}}
| name          =  
| bodyclass  = biography biota
| image        =  
 
| image_upright =  
| title      = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}
| landscape    = <!-- yes, if wide image, otherwise leave blank -->
 
| alt           = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption      =  
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| othername     =  
 
| species       =  
| label1    = Other {{nowrap|name(s)}}
| breed         =  
| data1      = {{{othername|}}}
| sex           =  
 
| birth_name   = <!-- (or hatch_name= value; for non-mammals) -->
| label2    = [[Species]]
| birth_date    = <!-- (or hatch_date= value; for non-mammals) -->
| class2     = binominal
| birth_place  = <!-- (or hatch_place= value; for non-mammals)-->
| data2      = {{{species|}}}<includeonly>{{#if:{{{species|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly>
| death_date    =  
 
| death_place  =  
| label3    = [[Breed]]
| death_cause  =
| class3    = breed
| resting_place =  
| data3      = {{{breed|}}}<includeonly>{{#if:{{{breed|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly>
| resting_place_coordinates =  
 
| nationality   = <!-- use only when necessary per [[WP:INFONAT]] -->
| label4    = Sex
| occupation    =  
| data4      = {{{sex|{{{gender|}}}}}}
| employer     =  
 
| role         =  
| label5    = Born
| years_active =  
| data5      = {{br separated entries|{{#if:{{{birth_name|}}}|<span class="nickname">{{{birth_name|}}}</span>}}|{{{birth_date|}}}|{{{birth_place|}}}}}
| known_for    =  
 
| tricks        =  
| label6    = Hatched
| awards        =  
| data6      = {{br separated entries|{{#if:{{{hatch_name|}}}|<span class="nickname">{{{hatch_name|}}}</span>}}|{{{hatch_date|}}}|{{{hatch_place|}}}}}
| title        =  
 
| term         =  
| label7    = Died
| predecessor   =  
| data7      = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
| successor    =  
 
| owner        =  
| label8    = Cause&nbsp;of death
| residence    =  
| data8      = {{{death_cause|}}}
| parents      =  
 
| mate         =  
| label9    = Resting place
| children     =  
| class9    = label
| weight       =  
| data9      = {{br separated entries|{{{resting_place|}}}|{{{resting_place_coordinates|}}}}}
| height       =  
 
| appearance    =  
| class10    = category
| namedafter    =  
| label10    = Nation from
| module       =  
| data10      = {{{nationality|}}}
| module2      =  
 
| module3      =  
| label11    = Occupation
| module4      =  
| class11    = role
| module5      =  
| data11    = {{{occupation|}}}
| website      =  
 
| footnotes    =  
| label12   = Employer
}}<noinclude>
| class12    = org
{{documentation}}<!-- place category links on the /doc sub-page, not here -->
| data12    = {{{employer|}}}
</noinclude>
 
| label13    = Notable role
| data13    = {{{role|}}}
 
| label14    = Years active
| data14    = {{{years_active|}}}
 
| label15    = Known&nbsp;for
| data15    = {{{known_for|{{{known|}}}}}}
 
| label16    = [[Animal training|Training]]
| data16     = {{{tricks|}}}
 
| label17    = [[Title (animal)|Title]]
| data17    = {{{title|}}}
 
| label18    = Term
| data18    = {{{term|}}}
 
| label19    = Predecessor
| data19    = {{{predecessor|}}}
 
| label20    = Successor
| data20    = {{{successor|}}}
 
| label21    = {{#if:{{{owners|}}}|Owners|Owner}}
| data21     = {{{owners|{{{owner|}}}}}}
 
| label22    = Residence
| data22    = {{{residence|}}}
 
| label23    = Parent(s)
| data23     = {{{parents|}}}
 
| label24    = Mate(s)
| data24    = {{{mate|}}}
 
| label25    = Offspring
| data25    = {{{children|}}}
 
| label26    = Weight
| data26    = {{convinfobox|{{{weight_kg|}}}|kg|{{{weight_st|}}}|st|{{{weight_lb|}}}|lb|{{#if:{{{weight_kg|}}}|0}}}}{{#if:{{{weight|}}}|{{Infobox person/weight|{{{weight}}}}}}}
 
| label27    = Height
| data27    = {{convinfobox|{{{height_cm|}}}|cm|{{{height_ft|}}}|ft|{{{height_in|}}}|in|{{#if:{{{height_in|}}}|0}}}}{{#if:{{{height|}}}|{{Infobox person/height|{{{height}}}}}}}
 
| label28    = Appearance
| data28    = {{{appearance|}}}
 
| label29   = Named after
| data29    = {{{namedafter|}}}
 
| label30   = Awards
| data30    = {{{awards|}}}
 
| data31    = {{{misc|{{{module|}}}}}}
| data32    = {{{misc|{{{module2|}}}}}}
| data33    = {{{misc|{{{module3|}}}}}}
| data34    = {{{misc|{{{module4|}}}}}}
| data35    = {{{misc|{{{module5|}}}}}}
 
| data36  = {{#if:{{{website|}}}|{{{website|}}}}}
 
| below      = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox animal with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox animal]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | appearance | awards | birth_date | birth_name | birth_place | breed | caption | child | children | death_cause | death_date | death_place | embed | employer | footnotes | gender | sex | hatch_date | hatch_name | hatch_place | height | height_cm | height_ft | height_in | image | image caption | image size | image_caption | image_size | image_upright | imagesize | landscape | known | known_for | mate | misc | module | module2 | module3 | module4 | module5 | name | namedafter | nationality | occupation | othername | owner | owners | parents | predecessor | residence | resting_place | resting_place_coordinates | role | species | successor | term | title | tricks | website | weight | weight_kg | weight_lb | weight_st | years_active }}<noinclude>{{Documentation}}{{purge}}<!-- Add categories and inter-wikis to the /doc subpage, not here! --></noinclude>

Revision as of 00:04, 3 November 2024

Purge