Template:Infobox animal: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox|child={{{child|{{{embed|}}}}}} | ||
| | | bodyclass = biography biota | ||
| | |||
| | | title = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}} | ||
| | |||
| alt | | 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 = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | ||
| | |||
| species | | label1 = Other {{nowrap|name(s)}} | ||
| breed | | data1 = {{{othername|}}} | ||
| sex | |||
| birth_name | | label2 = [[wikipedia:species|Species]] | ||
| | | class2 = binominal | ||
| | | data2 = {{{species|}}}<includeonly>{{#if:{{{species|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly> | ||
| | |||
| | | label3 = [[Breed]] | ||
| | | class3 = breed | ||
| resting_place = | | data3 = {{{breed|}}}<includeonly>{{#if:{{{breed|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly> | ||
| | |||
| nationality | | 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 = | |||
| | | label6 = Hatched | ||
| | | data6 = {{br separated entries|{{#if:{{{hatch_name|}}}|<span class="nickname">{{{hatch_name|}}}</span>}}|{{{hatch_date|}}}|{{{hatch_place|}}}}} | ||
| | |||
| term | | label7 = Died | ||
| predecessor | | data7 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}} | ||
| successor = | |||
| | | label8 = Cause of death | ||
| residence = | | data8 = {{{death_cause|}}} | ||
| | |||
| 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|}}} | ||
| | |||
| | | label11 = Occupation | ||
| | | class11 = role | ||
| | | data11 = {{{occupation|}}} | ||
| | |||
| | | label12 = Employer | ||
}} | | class12 = org | ||
| data12 = {{{employer|}}} | |||
| label13 = Notable role | |||
| data13 = {{{role|}}} | |||
| label14 = Years active | |||
| data14 = {{{years_active|}}} | |||
| label15 = Known for | |||
| data15 = {{{known_for|{{{known|}}}}}} | |||
| label16 = [[Animal training|Training]] | |||
| data16 = {{{tricks|}}} | |||
| label17 = [[wikipedia:Title|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> |