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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(sort parameter names (in blank template and parameter descriptions) to match order displayed in template)
imported>Jonesey95
(add tracking cat (dog))
 
(94 intermediate revisions by 45 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Lua|Module:InfoboxImage|Module:Wikidata}}
  
==Blank template==
+
{{Template:Infobox dog breed
<pre>
+
| name = {{{name}}}
{{Infobox Dogbreed
+
| image = {{{image}}}
| name =  
+
| image_size = {{{image_size}}}
| image =  
+
| image_alt = {{{image_alt}}}
| image_caption =  
+
| image_caption = {{{image_caption}}}
| altname =  
+
| altname = {{{altname}}}
| nickname =  
+
| nickname = {{{nickname}}}
| country =  
+
| stock = {{{stock}}}
<!-- Traits -->
+
| country = {{{country}}}
| maleweight =  
+
| patronage = {{{patronage}}}
| femaleweight =  
+
| weight = {{{weight}}}
| maleheight =  
+
| maleweight = {{{maleweight}}}
| femaleheight =  
+
| femaleweight = {{{femaleweight}}}
| coat =  
+
| height = {{{height}}}
| color =  
+
| maleheight = {{{maleheight}}}
| litter_size =  
+
| femaleheight = {{{femaleheight}}}
| life_span =  
+
| coat = {{{coat}}}
<!-- Classification & standards -->
+
| colour = {{{colour}}}
| fcigroup =  
+
| litter_size = {{{litter_size}}}
| fcisection =   
+
| life_span = {{{life_span}}}
| fcinum =  
+
| extinct = {{{extinct}}}
| fcistd =  
+
| notrecognised = {{{notrecognised}}}
| akcgroup =  
+
| landrace = {{{landrace}}}
| akcstd =  
+
| kc_name = KC name
| akcfss =  
+
| kc_std = {{{kc_std}}}
| akcmisc =  
+
| kc2_name = 2nd KC name
| ankcgroup =  
+
| kc2_std = {{{kc2_std}}}
| ankcstd =  
+
| fcistd = {{{fcistd}}}
| ckcgroup =   
+
| note = {{{note}}}
| ckcstd =  
+
}}
| ckcmisc =  
+
== Blank template ==
| kcukgroup =  
+
<pre style="overflow:auto; white-space:pre;">
| kcukstd =  
+
{{Infobox dog breed
| nzkcgroup =  
+
| name          =
| nzkcstd =  
+
| image          =  
| ukcgroup =  
+
| image_alt      =  
| ukcstd =  
+
| image_caption =
| notrecognized =  
+
| image2        =
| extinct =  
+
| image_alt2    =
<!-- Notes -->
+
| image_caption2 =
| note =  
+
| 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           =  
 +
}}
 
</pre>
 
</pre>
  
==Infobox parameters==
+
== Parameters ==
 +
* '''<code>name</code>''': Name of the breed (or [[landrace]], [[crossbreed]], [[Canid hybrid|hybrid]], etc.). Should agree with article title (aside from any parenthetical disambiguation).
  
*'''name''': Breed name as in article title.
+
* '''<code>image</code>''': The name of the image.
 +
:* Check [[Commons:Category:Dogs|Commons]] for appropriate photos.
 +
:* There is also '''<code>image2</code>''' with corresponding parameters.
  
*'''image''': The name of the image (leave off Image:)
+
* '''<code>image_alt</code>''': Alternate text to describe an image to those that cannot see it.
:*Check [[Commons:Category:Dogs|Commons]] for appropriate photos; also check [[Wikipedia:WikiProject Dogs/Dog photos task force]].
+
:* 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]]).
:*If you upload a new photo, make sure that both source and copyright are OK (e.g., name of photographer and [[GNU Free Documentation License|GFDL]]) and add to the album. 
 
:*Use the best breed photo available for the infobox image.
 
  
*'''image_caption''': A caption that describes the image.
+
* '''<code>image_caption</code>''': A caption that describes the image.
:*Include a caption that mentions the coat-color, tail, ear, etc. variation and whether the dog is, for example, a puppy or nonstandard in other ways; Wikipedia standard now seems to be for full sentences, but if it's only a coat color variation we haven't been doing full sentences, just ''Blue merle Aussie'' or the like.
 
  
*'''altname''': Other names by which the breed is known by English speakers.  
+
* '''<code>altname</code>''': Other names by which the breed is known by English speakers.
:*The list of names for the breed in the [[Federation Cynologique Internationale|FCI]] standards is a good starting point; also can include common breed names from other English-speaking countries and kennel clubs. [[User:Sannse]] initially created a [[Wikipedia:WikiProject Dog breeds/Breed source list|useful spreadsheet]] listing these known about for new articles (can also use Google search for English web sites for the possible breed names). 
 
:*To specify more than one name, you must specify them all on one line separated by &lt;br&gt;
 
  
*'''nickname''': Common nicknames
+
* '''<code>nickname</code>''': Common nicknames.
:*These are shortened names that aren't an official breed name but that are in common use by owners or breeders of these dogs (e.g., "Doxie" for [[Dachshund]]; "GSD" for [[German Shepherd Dog]]).
 
:*As above, to specify more than one name, you must specify them all on one line separated by &lt;br&gt;
 
  
*'''country''': Country of origin, preferably at time of origin to avoid squabbling over current political boundaries.
+
*{{anchor|stock}}'''<code>stock</code>''': List of [[foundation stock]], [[breed]]s, [[landrace]]s, or other populations from which the breed was developed.
:*Also available on the spreadsheet (or see breed's FCI listing - but be aware that the country listed may be the country responsible for the standard and ''not'' the true country of origin).
 
  
*Traits
+
* '''<code>country</code>''': Country of origin, preferably at time of origin to avoid squabbling over current political boundaries.
:*'''maleweight''': The weight range of males
 
:*'''femaleweight''': The weight range of females
 
:*'''maleheight''': The height range of males
 
:*'''femaleheight''': The height range of females
 
:*'''coat''': The coat type
 
:*'''color''': The color
 
:*'''litter_size''': The range in size of a litter
 
:*'''life_span''': The range in life span in years
 
  
*Classification and breed standards:
+
;Traits
:*FCI standards; all four options are required.
+
* '''<code>weight</code>''': The general weight range
::*'''fcigroup''':     The name of the group to which the dog belongs. (Hound, Working, etc..)
+
* '''<code>maleweight</code>''': The weight range of males
::*'''fcisection''':   The section number of the above group.
+
* '''<code>femaleweight</code>''': The weight range of females
::*'''fcinum''':       The number of the dog breed.
+
* '''<code>height</code>''': The general height range
::*'''fcistd''':       The URL to the FCI breed standard.  You can use a couple of different web sites for this.
+
* '''<code>maleheight</code>''': The height range of males
:::http://www.dogdomain.com/fci-1.htm]
+
* '''<code>femaleheight</code>''': The height range of females
:::http://www.google.com/search?q=cache:qg2Vj_42AdgJ:www.fci.be/uploaded_files/243gb99_en.doc+site:www.fci.be+%22243+/+09.+06.+1999%22&hl=en&ie=UTF-8
+
* '''<code>coat</code>''': The coat type
:::http://www.fci.be/uploaded_files/243gb99_en.doc
+
* '''<code>colour</code>''' or '''<code>color</code>''': Use one only not both. The color/colour as per [[Wikipedia:Manual of Style#National varieties of English]].
 +
* '''<code>litter_size</code>''': The range in size of a litter
 +
* '''<code>life_span</code>''': The range in life span in years
  
:*AKC standards; both options are required
+
;Kennel club standards
::*'''akcgroup''':     The name of the group to which the dog belongs.  (Hound, Working, etc..)
+
* '''<code>kc_name</code>''': The name of the national [[kennel club]] of the breed’s country of origin
::*'''akcstd''':       The URL to the breed standard; start looking here: http://www.akc.org/breeds/complete_breed_list.cfm
+
:* Link to a article if it exists then pipe the club’s acronym
::*'''akcfss''': Add this if the breed is a part of the AKC's Foundation Stock Service
+
:* There is also a '''<code>kc2_name</code>''' and '''<code>kc3_name</code>''' if more than one country claims the breed.
::*'''akcmisc''': Add this if the breed is a part of the AKC's Miscellaneous group
+
* '''<code>kc_std</code>''': The URL to the breed standard from that kennel club(s).
:::an example for the [[Alaskan Malamute]] is: http://www.akc.org/breeds/alaskan_malamute/index.cfm
+
* '''<code>fcistd</code>''': If the breed is recognised by the [[Fédération Cynologique Internationale|FCI]], add the URL to the FCI breed standard.
:::If the group is FSS, see preceding '''akcfss''' instructions.
+
* {{anchor|note}}'''<code>notes</code>''': Free-form {{em|concise}} comments, usually about the breed recognition or standards.
 +
* '''<code>notrecogni<u>s</u>ed=yes</code>''' or '''<code>notrecogni<u>z</u>ed=yes</code>''': Shows a "Not recognis(z)ed by any major kennel club.
 +
*'''<code>extinct=yes</code>''': Shows an "[[Extinction|Extinct]]" message. This parameter should be removed if not used.
  
:*ANKC standards; both options are required
+
;Special parameter:
::*'''ankcgroup''':   The number and name of the group to which the dog belongs. (Referring to the hound, etc. group)
+
*'''<code>trinomial=</code>''': 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 {{tlx|Taxobox}}, not {{tnull|Infobox dog breed}}. This parameter should not be used with {{para|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 {{para|trinomial}} for this, or change the template.
:::Please put this in the format:  Group NUMBER - (NAME)
 
::*'''ankcstd''':      The URL to the breed standard; start looking here: http://www.ankc.aust.com/breed_list.html
 
  
:*CKC standards; both options are required
+
== Microformat ==
::*'''ckcgroup''':    The name of the group to which the dog belongs. (Hound, Working, etc..)
+
{{UF-species}}
:::Please put this in the format:  Group NUMBER - (NAME)
 
::*'''ckcstd''':      The URL to the breed standard; start looking here: http://www.ckc.ca/en/Default.aspx?tabid=99. The Miscellaneous List breeds are not listed on the website, they currently are:
 
:::*[[Australian Kelpie]]
 
:::*[[Black Russian Terrier]]
 
:::*[[Cane Corso]]
 
:::*[[Chart Polski]]
 
:::*[[Croatian Sheepdog]]
 
:::*[[Fila Brasileiro]]
 
:::*[[Finnish Lapphund]]
 
:::*[[Glen of Imaal Terrier]]
 
:::*[[Small Munsterlander]]
 
:::*[[Mudi]]
 
:::*[[Picardy Spaniel]]
 
:::*[[Portuguese Sheepdog]]
 
:::*[[Russo-European Laika]]
 
:::*[[Shikoku (dog)|Shikoku]]
 
:::*[[Spanish Mastiff]]
 
:::*[[Tatra Mountain Sheepdog]]
 
:::*[[Tibetan Mastiff]]
 
::*'''ckcmisc''': Add this if the breed is a part of the CKC's Miscellaneous List
 
  
:*KC (UK) standards; both options are required
+
==Tracking categories==
::*'''kcukgroup''':    The name of the group to which the dog belongs. (Hound, Working, etc..)
+
*{{clc|Pages using infobox dog breed with unknown parameters}}
::*'''kcukstd''':      The URL to the breed standard; start looking here: http://www.thekennelclub.org.uk/item/210
 
  
:*NZKC standards; both options are required
+
== See also ==
::*'''nzkcgroup''':    The name of the group to which the dog belongs. (Hound, Working, etc..)
 
::*'''nzkcstd''':      The URL to the breed standard; start looking here: http://www.nzkc.org.nz/dogselect.html
 
 
 
:*UKC standards; both options are required
 
::*'''ukcgroup''':    The name of the group to which the dog belongs. (Hound, Working, etc..)
 
::*'''ukcstd''':      The URL to the breed standard; start looking here: http://mail.ukcdogs.com/UKCweb.nsf/Breeds?OpenPage&Start=1&Count=1000&Collapse=3
 
 
 
:*'''notrecognized''': Add this if the breed is not recognized by any major kennel club.
 
 
 
:*'''extinct''': Add this if the breed is now extinct.
 
 
 
*'''notes''': Notes about the breed recognition or standards.
 
:*Comments such as: "This breed is recognized by the American Rare Breed Association", etc..
 
 
 
==Usage==
 
* '''name''' is required; all other variables are optional.
 
* All variables for each kennel club are required if any are used at all (for example, '''akcgroup''' and '''akcstd'''). If a value is not available, set it to blanks.
 
* If the breed is not recognized by any major kennel club, include the '''notrecognized''' variable and set it to ''yes'' (actually to anything--text is ignored but it makes the table content work correctly).
 
* If the breed is a part of the AKC's foundation stock service, include the '''akcfss''' variable and set it to ''yes'' (actually to anything--text is ignored but it makes the table content work correctly).
 
*If you want to specify multiple entries for the '''altname''' or '''nickname''' variables, these must be on one line with &lt;br&gt; separating them.
 
*The '''comments''' at the beginning and end don't affect the appearance of the table but please always include them to help newcomers understand what's going on when they edit the page.
 
 
 
==See also==
 
 
* [[Wikipedia:WikiProject Dogs]]
 
* [[Wikipedia:WikiProject Dogs]]
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Dog templates| ]]
 
[[Category:Dog templates| ]]
[[Category:Animal infobox templates|Dogbreed]]
+
[[Category:Animal infobox templates|Dog breed]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
+
[[Category:Infobox templates with three columns]]
 
+
}}</includeonly>
[[da:Skabelon:Infoboks Hunderace]]
 
[[es:Plantilla:Infobox Dogbreed]]
 
[[it:Template:Baubox]]
 
[[ml:ഫലകം:Infobox നായജനുസ്സ്]]
 
[[nl:Sjabloon:Hond]]
 
[[no:Mal:Hunderase]]
 
[[pl:Szablon:Pies infobox]]
 
[[pt:Predefinição:Infobox Raça de Cão]]
 
[[ru:Шаблон:Порода собаки]]
 
[[sk:Šablóna:Plemená psov]]
 
[[sl:Predloga:Infobox Pes]]
 
[[fi:Malline:Koirarotu]]
 
[[tr:Şablon:Köpek ırkı]]
 
</includeonly>
 

Latest revision as of 18:32, 8 January 2021

[[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