Template:Infobox animal: Difference between revisions

From ChewWiki
Jump to navigation Jump to search
don't link species and breed
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
| title      = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}
| title      = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|upright={{{image_upright|1}}}|alt={{{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    = {{{caption|}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}


| label1    = Other {{nowrap|name(s)}}
| label1    = Other {{nowrap|name(s)}}
| data1      = {{{othername|}}}
| data1      = {{{othername|}}}


| label2    = Species
| label2    = [[Species]]
| class2    = binominal
| class2    = binominal
| data2      = {{{species|}}}<includeonly>{{#if:{{{species|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly>
| data2      = {{{species|}}}<includeonly>{{#if:{{{species|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly>


| label3    = Breed
| label3    = [[Breed]]
| class3    = breed
| class3    = breed
| data3      = {{{breed|}}}<includeonly>{{#if:{{{breed|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly>
| data3      = {{{breed|}}}<includeonly>{{#if:{{{breed|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles with 'species' microformats]]}}}}</includeonly>


| label4    = Sex
| label4    = Sex
| data4      = {{{gender|}}}
| data4      = {{{sex|{{{gender|}}}}}}


| label5    = Born
| label5    = Born
Line 62: Line 62:


| label17    = [[Title (animal)|Title]]
| label17    = [[Title (animal)|Title]]
| data117     = {{{title|}}}
| data17     = {{{title|}}}


| label18    = Term
| label18    = Term
Line 114: Line 114:
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
| 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 | hatch_date | hatch_name | hatch_place | height | height_cm | height_ft | height_in | image | image size | image_size | image_upright | imagesize | 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>
}}{{#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>

Latest revision as of 05:20, 19 January 2025

Purge