Difference between revisions of "Template:Infobox dog breed"
Jump to navigation
Jump to search
[[Category:Template:Pagetype with short description]]
[[Category:Infobox templates|Template:Remove first word]]
(remove border collaspe and update color in accordance with new Animalia taxobox color) |
imported>Cavalryman (Plural better) |
||
| (112 intermediate revisions by 42 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | <includeonly>{{short description|Dog breed|noreplace}}{{infobox |
| − | | | + | | bodyclass = biota |
| − | + | ||
| − | + | | abovestyle = background-color:#d3d3a4;text-align:center;vertical-align:middle; | |
| − | | | + | | aboveclass = summary |
| − | + | | above = {{{name|{{#if:{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{#invoke:Wikidata|ViewSomething|labels|en|value}}|{{PAGENAMEBASE}}}}}}} | |
| − | + | ||
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagedimensions|}}}}}}|sizedefault=frameless|alt={{{image_alt|}}}}} | |
| − | + | | caption = {{{image_caption|{{{caption|}}}}}} | |
| − | + | ||
| − | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image_size2|{{{imagedimensions2|}}}}}}|sizedefault=frameless|alt={{{image_alt2|}}}}} | |
| − | + | | caption2 = {{{image_caption2|{{{caption2|}}}}}} | |
| − | + | ||
| − | + | | labelstyle = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->; | |
| − | + | | datastyle = line-height:1.3em; | |
| − | + | ||
| − | + | | label1 = {{nowrap|Other names}}<!--This nowrap keeps this column from being excessively narrow.--> | |
| − | | | + | | data1 = {{{altname|}}} |
| − | + | ||
| − | + | | label2 = Common nicknames | |
| − | {{#if:{{{ | + | | data2 = {{{nickname|}}} |
| − | + | ||
| − | + | | label3 = Origin | |
| − | + | | data3 = {{{origin|{{{country|}}}}}} | |
| − | + | ||
| − | + | | label4 = {{#if:{{{breeds|}}}{{{stock|}}}|[[Foundation stock]]}} | |
| − | + | | data4 = {{{breeds|{{{stock|}}}}}} | |
| − | + | ||
| − | + | | label6 = {{#if:{{{landrace|}}}{{{cross|}}}{{{x|}}}{{{×|}}}{{{var|}}}|Variety|Breed}} status | |
| − | + | | data6 = {{#if:{{{extinct|}}}|[[Extinction|Extinct]]{{#if:{{{notrecognized|{{{notrecognised|{{{unrecognized|{{{unrecognised|}}}}}}}}}}}}|. }}}}{{#if:{{{notrecognized|{{{notrecognised|{{{unrecognized|{{{unrecogised|}}}}}}}}}}}}|Not recogni{{#if:{{{notrecognised|{{{unrecognised|}}}}}}|s|z}}ed as a [[Dog breed|breed]] by any major [[kennel club]].}} | |
| − | + | ||
| − | + | | rowstyle20 = padding:0; | |
| − | + | | data20 = {{#if:{{{weight|}}}{{{maleweight|}}}{{{femaleweight|}}}{{{height|}}}{{{maleheight|}}}{{{femaleheight|}}}{{{coat|}}}{{{color|}}}{{{colour|}}}{{{litter_size|}}}{{{life_span|}}} | |
| − | + | |{{infobox3cols | child = yes | |
| − | -- | + | | bodyclass = collapsible {{#if:{{{collapse_standards_and_traits|}}}|collapsed|<!--Do not collapse by default; it's an accessibility problem and a usability problem for millions of mobile users!-->}} |
| − | + | ||
| − | + | | headerstyle = background-color:#d3d3a4;text-align:center;vertical-align:middle; | |
| − | + | | header21 = Traits | |
| − | + | ||
| − | + | | label22 = Height | |
| − | + | | data22 = {{{height|}}} | |
| − | + | ||
| − | + | | label23 = {{#if:{{{height|}}} |<nowiki />| Height}} | |
| − | + | | data23a = {{#if:{{{maleheight|}}}|Dogs}} | |
| − | + | | data23b = {{{maleheight|}}} | |
| − | | | + | |
| − | + | | label24 = {{#if:{{{height|}}}{{{maleheight|}}} |<nowiki />| Height}} | |
| + | | data24a = {{#if:{{{femaleheight|}}}|Bitches}} | ||
| + | | data24b = {{{femaleheight|}}} | ||
| + | |||
| + | | label25 = Weight | ||
| + | | data25 = {{{weight|}}} | ||
| + | |||
| + | | label26 = {{#if:{{{weight|}}} |<nowiki />| Weight}} | ||
| + | | data26a = {{#if:{{{maleweight|}}}|Dogs}} | ||
| + | | data26b = {{{maleweight|}}} | ||
| + | |||
| + | | label27 = {{#if:{{{weight|}}}{{{maleweight|}}} |<nowiki />| Weight}} | ||
| + | | data27a = {{#if:{{{femaleweight|}}}|Bitches}} | ||
| + | | data27b = {{{femaleweight|}}} | ||
| + | |||
| + | | label28 = Coat | ||
| + | | data28 = {{{coat|}}} | ||
| + | |||
| + | | label29 = Colo{{#if:{{{colour|}}}|u}}r | ||
| + | | data29 = {{{color|{{{colour|}}}}}} | ||
| + | |||
| + | | label31 = Litter size | ||
| + | | data31 ={{{litter_size|}}} | ||
| + | |||
| + | | label32 = Life span | ||
| + | | data32 ={{{life_span|}}} | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | | rowstyle40 = padding:0; | ||
| + | | data40 = {{#if:{{{kc_name|}}}{{{kc2_name|}}}{{{kc3_name|}}}{{{fcistd|}}} | ||
| + | |{{infobox3cols | child = yes | ||
| + | | bodyclass = collapsible {{#if:{{{collapse_standards_and_traits|}}}|collapsed|<!--Do not collapse by default; it's an accessibility problem and a usability problem for millions of mobile users!-->}} | ||
| + | |||
| + | |header41 = Kennel club standards | ||
| + | | headerstyle = background-color:#d3d3a4;text-align:center;vertical-align:middle; | ||
| + | |label82 = {{{kc_name|}}} | ||
| + | | data82 = {{#if:{{{kc_std|}}}|[{{{kc_std}}} standard]}} | ||
| + | |label83 = {{{kc2_name|}}} | ||
| + | | data83 = {{#if:{{{kc2_std|}}}|[{{{kc2_std}}} standard]}} | ||
| + | |label84 = {{{kc3_name|}}} | ||
| + | | data84 = {{#if:{{{kc3_std|}}}|[{{{kc3_std}}} standard]}} | ||
| + | | label85 = [[Fédération Cynologique Internationale|FCI]] | ||
| + | | data85 = {{br separated entries | ||
| + | |1 = {{#if:{{{fcistd|}}}|[{{{fcistd}}} standard]}} | ||
| + | |2 = {{#if:{{{fcistd1|}}}|[{{{fcistd1}}} standard]}} | ||
| + | |3 = {{#if:{{{fcistd2|}}}|[{{{fcistd2}}} standard]}} | ||
| + | }} | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | | label91 = Notes | ||
| + | | data91 = {{{note|}}} | ||
| + | |||
| + | | belowstyle = background-color: #d3d3a4; | ||
| + | | below = <span class="vernacular">{{#if:{{{x|}}}{{{×|}}}|[[Canid hybrid]]|{{#if:{{{trinomial|}}}|Dog|Dog}}}}</span> ({{#if:{{{x|}}}{{{×|}}}|<span class="hybrid">''[[Canis lupus familiaris]]'' × ''{{{x|{{{×}}}}}}''</span>|<span class="trinominal">{{{trinomial|[[domestic dog]]}}}</span>}}) | ||
| + | |||
| + | }}{{main other|[[Category:Articles with 'species' microformats]] | ||
| + | }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox dog breed with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox dog breed]] with unknown parameter "_VALUE_"|ignoreblank=y| × | altname | breeds | caption | caption2 | coat | collapse_standards_and_traits | color | colour | country | cross | extinct | fcistd | fcistd1 | fcistd2 | femaleheight | femaleweight | height | image | image_alt | image_alt2 | image_caption | image_caption2 | image_size | image_size2 | image2 | imagedimensions | imagedimensions2 | kc_name | kc_std | kc2_name | kc2_std | kc3_name | kc3_std | landrace | life_span | litter_size | maleheight | maleweight | name | nickname | note | notrecognised | notrecognized | origin | stock | trinomial | unrecogised | unrecognised | unrecognized | var | weight | x }}<noinclude> | ||
| + | {{Documentation}}<!-- Categories should be put at the bottom of [[Template:Infobox Dog breed/doc]] --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:56, 20 January 2021
| This template uses Lua: |
| {{{name}}} | |||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|{{{image_alt}}}]] {{{image_caption}}} | |||||||||||||||||||||||||||||||||||||||||
| Other names | {{{altname}}} | ||||||||||||||||||||||||||||||||||||||||
| Common nicknames | {{{nickname}}} | ||||||||||||||||||||||||||||||||||||||||
| Origin | {{{country}}} | ||||||||||||||||||||||||||||||||||||||||
| Foundation stock | {{{stock}}} | ||||||||||||||||||||||||||||||||||||||||
| Variety status | Extinct. Not recognised as a breed by any major kennel club. | ||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| Notes | {{{note}}} | ||||||||||||||||||||||||||||||||||||||||
| Dog (domestic dog) | |||||||||||||||||||||||||||||||||||||||||
Blank template
{{Infobox dog breed
| name =
| image =
| image_alt =
| image_caption =
| image2 =
| image_alt2 =
| image_caption2 =
| altname =
| nickname =
| stock =
| country =
<!-----Traits----->
| height =
| maleheight =
| femaleheight =
| weight =
| maleweight =
| femaleweight =
| coat =
| colour = <!-- or | color = -->
| litter_size =
| life_span =
<!-----Kennel club standards----->
| kc_name =
| kc_std =
| kc2_name = <!-- if required for dual-national breeds -->
| kc2_std =
| fcistd = <!-- if recognised by the FCI -->
| notrecognised = <!-- or | notrecognized = -->
| extinct =
<!-----Notes----->
| note =
}}
Parameters
name: Name of the breed (or landrace, crossbreed, hybrid, etc.). Should agree with article title (aside from any parenthetical disambiguation).
image: The name of the image.
- Check Commons for appropriate photos.
- There is also
image2with corresponding parameters.
image_alt: Alternate text to describe an image to those that cannot see it.
image_caption: A caption that describes the image.
altname: Other names by which the breed is known by English speakers.
nickname: Common nicknames.
stock: List of foundation stock, breeds, landraces, or other populations from which the breed was developed.
country: Country of origin, preferably at time of origin to avoid squabbling over current political boundaries.
- Traits
weight: The general weight rangemaleweight: The weight range of malesfemaleweight: The weight range of femalesheight: The general height rangemaleheight: The height range of malesfemaleheight: The height range of femalescoat: The coat typecolourorcolor: Use one only not both. The color/colour as per Wikipedia:Manual of Style#National varieties of English.litter_size: The range in size of a litterlife_span: The range in life span in years
- Kennel club standards
kc_name: The name of the national kennel club of the breed’s country of origin
- Link to a article if it exists then pipe the club’s acronym
- There is also a
kc2_nameandkc3_nameif more than one country claims the breed.
kc_std: The URL to the breed standard from that kennel club(s).fcistd: If the breed is recognised by the FCI, add the URL to the FCI breed standard.notes: Free-form concise comments, usually about the breed recognition or standards.notrecognised=yesornotrecognized=yes: Shows a "Not recognis(z)ed by any major kennel club.extinct=yes: Shows an "Extinct" message. This parameter should be removed if not used.
- Special parameter
trinomial=: Replaces domestic dog with custom text. Italics and wikilinks must be done manually in the supplied parameter value. Entirely wild populations like the Australian dingo, use{{Taxobox}}, not{{Infobox dog breed}}. This parameter should not be used with|x=. If in the future we need to indicate a dingo-and-something-else hybrid that is actually treated as a dog breed, we can use|trinomial=for this, or change the template.
Microformat
Tracking categories
See also
| The above documentation is transcluded from Template:Infobox dog breed/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |