Difference between revisions of "Template:Infobox dog breed/sandbox"
Jump to navigation
Jump to search
[[Category:Template:Pagetype with short description]]
imported>SMcCandlish (support |origin= (|country= often does not make sense)) |
imported>Jonesey95 (sync with live template) |
||
| Line 1: | Line 1: | ||
| − | {{infobox | + | <includeonly>{{infobox |
| bodyclass = biota | | bodyclass = biota | ||
| titleclass = breed | | titleclass = breed | ||
| − | | title = {{{name| | + | | title = {{{name|{{PAGENAMEBASE}}}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagedimensions|}}}}}}|sizedefault=frameless|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagedimensions|}}}}}}|sizedefault=frameless|alt={{{image_alt|}}}}} | ||
| Line 23: | Line 23: | ||
| data5 = {{{patronage|}}} | | data5 = {{{patronage|}}} | ||
| − | | label6 = {{#if:{{{landrace|}}}{{{cross|}}}{{{x|}}}|Variety|Breed}} status | + | | label6 = {{#if:{{{landrace|}}}{{{cross|}}}{{{x|}}}{{{×|}}}{{{var|}}}|Variety|Breed}} status |
| − | | data6 = {{#if:{{{extinct|}}}|[[Extinction|Extinct]]{{#if:{{{notrecognized|{{{notrecognised|}}}}}}|. }}}}{{#if:{{{notrecognized|{{{notrecognised|}}}}}}|Not recogni{{#if:{{{notrecognised|}}}|s|z}}ed as a standardi{{#if:{{{notrecognised|}}}|s|z}}ed breed by any major [[kennel club]].}} | + | | 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 [[Breed standard|standardi{{#if:{{{notrecognised|{{{unrecognised|}}}}}}|s|z}}ed breed]] by any major [[kennel club]].}} |
| rowstyle20 = padding:0; | | rowstyle20 = padding:0; | ||
| Line 152: | Line 152: | ||
| belowstyle = background-color: #d3d3a4; | | belowstyle = background-color: #d3d3a4; | ||
| − | | below = <span class="vernacular">{{#if:{{{x|}}}|[[Canid hybrid]]|[[Dog|Domestic dog]]}}</span> ( | + | | below = <span class="vernacular">{{#if:{{{x|}}}{{{×|}}}|[[Canid hybrid]]|{{#if:{{{trinomial|}}}|Dog|[[Dog|Domestic dog]]}}}}</span> ({{#if:{{{x|}}}{{{×|}}}|<span class="hybrid">''[[Canis lupus familiaris]]'' × ''{{{x|{{{×}}}}}}''</span>|<span class="trinominal">{{{trinomial|''Canis lupus familiaris''}}}</span>}}) |
}}{{main other|[[Category:Articles with 'species' microformats]] | }}{{main other|[[Category:Articles with 'species' microformats]] | ||
| − | }}<noinclude> | + | }}</includeonly><noinclude> |
{{Documentation}}<!-- Categories should be put at the bottom of [[Template:Infobox Dog breed/doc]] --> | {{Documentation}}<!-- Categories should be put at the bottom of [[Template:Infobox Dog breed/doc]] --> | ||
</noinclude> | </noinclude> | ||
Revision as of 11:46, 14 December 2018
| This is the template sandbox page for Template:Infobox dog breed (diff). See also the companion subpage for test cases. |
| 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. |