Difference between revisions of "Template:Infobox dog breed/sandbox"

From blackwiki
Jump to navigation Jump to search
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|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| 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|}}}}}}|.&#32;}}}}{{#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|}}}}}}}}}}}}|.&#32;}}}}{{#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> (''{{#if:{{{x|}}}|<span class="hybrid">[[Canis lupus familiaris]] × {{{x}}}</span>|<span class="trinominal">Canis lupus familiaris</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

Template documentation[view] [edit] [history] [purge]
[[Category:Template:Pagetype with short description]]
{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|{{{image_alt}}}]]
{{{image_caption}}}
Other names{{{altname}}}
Common nicknames{{{nickname}}}
Origin{{{country}}}
Foundation stock{{{stock}}}
Variety statusExtinct. Not recognised as a breed by any major kennel club.
Traits
Height {{{height}}}
Dogs {{{maleheight}}}
Bitches {{{femaleheight}}}
Weight {{{weight}}}
Dogs {{{maleweight}}}
Bitches {{{femaleweight}}}
Coat {{{coat}}}
Colour {{{colour}}}
Litter size {{{litter_size}}}
Life span {{{life_span}}}
Kennel club standards
KC name [{{{kc_std}}} standard]
2nd KC name [{{{kc2_std}}} standard]
FCI [{{{fcistd}}} standard]
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 image2 with corresponding parameters.
  • image_alt: Alternate text to describe an image to those that cannot see it.
  • If an image is included, alt text should be provided using image_alt. Alt text should not repeat the caption; instead, it should describe the image to someone who can't see it (see WP:ALT).
  • image_caption: A caption that describes the image.
  • altname: Other names by which the breed is known by English speakers.
  • nickname: Common nicknames.
  • country: Country of origin, preferably at time of origin to avoid squabbling over current political boundaries.
Traits
  • weight: The general weight range
  • maleweight: The weight range of males
  • femaleweight: The weight range of females
  • height: The general height range
  • maleheight: The height range of males
  • femaleheight: The height range of females
  • coat: The coat type
  • colour or color: 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 litter
  • life_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_name and kc3_name if 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=yes or notrecognized=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

Template:UF-species

Tracking categories

See also