Revision as of 03:36, 4 January 2006 view sourceTrysha (talk | contribs)Extended confirmed users3,768 edits botched link← Previous edit | Latest revision as of 17:44, 6 November 2024 view source Traumnovelle (talk | contribs)Extended confirmed users8,125 edits Removing here too | ||
(205 intermediate revisions by 74 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{main other|{{short description|Dog breed|noreplace}}}}{{#invoke:infobox|infoboxTemplate | |||
{| class="infobox" style="width: 20em; border-collapse: collapse;" cellpadding="2" | |||
| bodyclass = biota | |||
|- | |||
| templatestyles = infobox/mobileviewfix.css | |||
<!-- the name of the dog --> | |||
| 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}}}}}}} | |||
<!-- if we have an image --> | |||
|- class="hiddenStructure{{{image|}}}" | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagedimensions|}}}}}}|sizedefault=frameless|alt={{{image_alt|}}}}} | |||
| colspan="3" | ] | |||
| caption = {{{image_caption|{{{caption|}}}}}} | |||
<!-- alternative names one parameter, separate them by <br> if more than one--> | |||
|- class="hiddenStructure{{{altname|}}}" style="background-color: pink;" | |||
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image_size2|{{{imagedimensions2|}}}}}}|sizedefault=frameless|alt={{{image_alt2|}}}}} | |||
! colspan="3" | Alternative names | |||
| caption2 = {{{image_caption2|{{{caption2|}}}}}} | |||
|- class="hiddenStructure{{{altname|}}}" style="text-align: center;" | |||
| colspan="3" | {{{altname|}}} | |||
| labelstyle = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->; | |||
<!-- country of origin --> | |||
| datastyle = line-height:1.3em; | |||
|- class="hiddenStructure{{{country|}}}" style="background-color: pink;" | |||
! colspan="3" | Country of origin | |||
| label1 = {{nowrap|Other names}}<!--This nowrap keeps this column from being excessively narrow.--> | |||
|- class="hiddenStructure{{{country|}}}" style="text-align: center;" | |||
| |
| data1 = {{{altname|}}} | ||
<!-- nicknames one parameter separate them by <br> if more than one --> | |||
| label2 = Common nicknames | |||
|- class="hiddenStructure{{{nickname|}}}" style="background-color: pink;" | |||
| data2 = {{{nickname|}}} | |||
! colspan="3" | Common nicknames | |||
|- class="hiddenStructure{{{nickname|}}}" style="text-align: center;" | |||
| label3 = Origin | |||
| colspan="3" | {{{nickname|}}} | |||
| data3 = {{{origin|{{{country|}}}}}} | |||
<!-- breed table standards links and groupings --> | |||
<!-- it would be nice to have the following 5 lines to be conditional on the following 6 kennel clubs via an "or" --> | |||
| label4 = Distribution | |||
<!-- simply testing against fcistd, akcstd, ankcstd, ckcstd | |||
| data4 = {{{distribution|}}} | |||
<!-- but it doesn't seem to be a way to do that with hiddenStructure --> | |||
|- style="background-color: pink;" | |||
| label5 = {{#if:{{{breeds|}}}{{{stock|}}}|]}} | |||
! colspan="3" | Classification and breed standards | |||
| data5 = {{{breeds|{{{stock|}}}}}} | |||
<!-- the FCI --> | |||
|- class="hiddenStructure{{{fcistd|}}}" style="text-align: left;" | |||
| label6 = {{#if:{{{landrace|}}}{{{cross|}}}{{{x|}}}{{{×|}}}{{{var|}}}|Variety|Breed}} status | |||
! ]: | |||
| data6 = {{#if:{{{extinct|}}}|]{{#if:{{{notrecognized|{{{notrecognised|{{{unrecognized|{{{unrecognised|}}}}}}}}}}}}|. }}}}{{#if:{{{notrecognized|{{{notrecognised|{{{unrecognized|{{{unrecogised|}}}}}}}}}}}}|Not recogni{{#if:{{{notrecognised|{{{unrecognised|}}}}}}|s|z}}ed as a ] by any major ].}} | |||
|{{switch | |||
|{{{fcigroup}}} | |||
| rowstyle20 = padding:0; | |||
|case: 1=Group 1 Section {{{fcisection}}} #{{{fcinum}}} | |||
| data20 = {{#if:{{{weight|}}}{{{maleweight|}}}{{{femaleweight|}}}{{{height|}}}{{{maleheight|}}}{{{femaleheight|}}}{{{coat|}}}{{{color|}}}{{{colour|}}}{{{litter_size|}}} | |||
|case: 2=Group 2 Section {{{fcisection}}} #{{{fcinum}}} | |||
|{{#invoke:infobox3cols | infoboxTemplate | child = yes | |||
|case: 3=Group ] Section {{{fcisection}}} #{{{fcinum}}} | |||
| 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!-->}} | |||
|case: 4=Group 4 Section {{{fcisection}}} #{{{fcinum}}} | |||
|case: 5=Group 5 Section {{{fcisection}}} #{{{fcinum}}} | |||
| headerstyle = background-color:#d3d3a4;text-align:center;vertical-align:middle; | |||
|case: 6=Group 6 Section {{{fcisection}}} #{{{fcinum}}} | |||
| header21 = Traits | |||
|case: 0=Group 7 Section {{{fcisection}}} #{{{fcinum}}} | |||
|default=Unknown Group {{{fcigroup|}}} | |||
| label22 = Height | |||
| data22 = {{{height|}}} | |||
| label23 = {{#if:{{{height|}}} |<nowiki />| Height}} | |||
| data23a = {{#if:{{{maleheight|}}}|Males}} | |||
| data23b = {{{maleheight|}}} | |||
| label24 = {{#if:{{{height|}}}{{{maleheight|}}} |<nowiki />| Height}} | |||
| data24a = {{#if:{{{femaleheight|}}}|Females}} | |||
| data24b = {{{femaleheight|}}} | |||
| label25 = Weight | |||
| data25 = {{{weight|}}} | |||
| label26 = {{#if:{{{weight|}}} |<nowiki />| Weight}} | |||
| data26a = {{#if:{{{maleweight|}}}|Males}} | |||
| data26b = {{{maleweight|}}} | |||
| label27 = {{#if:{{{weight|}}}{{{maleweight|}}} |<nowiki />| Weight}} | |||
| data27a = {{#if:{{{femaleweight|}}}|Females}} | |||
| data27b = {{{femaleweight|}}} | |||
| label28 = Coat | |||
| data28 = {{{coat|}}} | |||
| label29 = Colo{{#if:{{{colour|}}}|u}}r | |||
| data29 = {{{color|{{{colour|}}}}}} | |||
| label31 = Litter size | |||
| data31 ={{{litter_size|}}} | |||
}} | |||
}} | }} | ||
| | |||
| rowstyle40 = padding:0; | |||
<!-- the AKC --> | |||
| data40 = {{#if:{{{kc_name|}}}{{{kc2_name|}}}{{{kc3_name|}}}{{{fcistd|}}} | |||
|- class="hiddenStructure{{{akcstd|}}}" style="text-align: left;" | |||
|{{#invoke:infobox3cols | infoboxTemplate | 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!-->}} | |||
| {{{akcgroup}}} | |||
| | |||
|header41 = Kennel club standards | |||
<!-- the Australian National Kennel Council --> | |||
| headerstyle = background-color:#d3d3a4;text-align:center;vertical-align:middle; | |||
|- class="hiddenStructure{{{ankcstd|}}}" style="text-align: left;" | |||
|label82 = {{{kc_name|}}} | |||
! ]: | |||
| data82 = {{br separated entries | |||
| Group {{{ankcgroupnum}}} - ({{{ankcgroup}}}) | |||
|1 = {{#if:{{{kc_std|}}}|}} | |||
| | |||
|2 = {{#if:{{{kc_std1|}}}|}} | |||
<!-- the Canadian Kennel Club --> | |||
|3 = {{#if:{{{kc_std2|}}}|}} | |||
|- class="hiddenStructure{{{ckcstd|}}}" style="text-align: left;" | |||
}} | |||
! ]: | |||
|label83 = {{{kc2_name|}}} | |||
| {{switch | |||
| data83 = {{br separated entries | |||
|{{{ckcgroupnum}}} | |||
|1 = {{#if:{{{kc2_std|}}}|}} | |||
|case: 1=Group 1 - (Sporting Dogs) | |||
|2 = {{#if:{{{kc2_std1|}}}|}} | |||
|case: 2=Group 2 - (]s) | |||
|3 = {{#if:{{{kc2_std2|}}}|}} | |||
|case: 3=Group 3 - (Working Dogs) | |||
}} | |||
|case: 4=Group 4 - (]) | |||
| label85 = ] | |||
|case: 5=Group 5 - (]) | |||
| data85 = {{br separated entries | |||
|case: 6=Group 6 - (Non Sporting) | |||
|1 = {{#if:{{{fcistd|}}}|}} | |||
|case: 7=Group 7 - (Herding Dogs) | |||
|2 = {{#if:{{{fcistd1|}}}|}} | |||
|case: M=Miscellaneous Group | |||
|3 = {{#if:{{{fcistd2|}}}|}} | |||
|default=Unknown Group {{{ckcgroup|}}} | |||
}} | |||
}} | |||
}} | }} | ||
| | |||
| label91 = Notes | |||
<!-- kennel club of the UK --> | |||
| data91 = {{{note|}}} | |||
|- class="hiddenStructure{{{kcukstd|}}}" style="text-align: left;" | |||
! style="white-space: nowrap;" | ]: | |||
| belowstyle = background-color: #d3d3a4; | |||
| {{{kcukgroup}}} | |||
| below = <span class="vernacular">{{#if:{{{x|}}}{{{×|}}}|]|{{#if:{{{trinomial|}}}|Dog|Dog}}}}</span> ({{#if:{{{x|}}}{{{×|}}}|<span class="hybrid">'']'' × ''{{{x|{{{×}}}}}}''</span>|<span class="trinominal">{{{trinomial|]}}}</span>}}) | |||
| | |||
<!-- new zeland kennel club --> | |||
}}{{main other|] | |||
|- class="hiddenStructure{{{nzkcstd|}}}" style="text-align: left;" | |||
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|]}}|preview=Page using ] 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 | kc_std1 | kc_std2 | kc2_name | kc2_std | kc2_std1 | kc2_std2 | kc3_name | kc3_std | kc3_std1 | kc3_std2 | landrace | litter_size | maleheight | maleweight | name | nickname | note | notrecognised | notrecognized | origin | distribution | stock | trinomial | unrecogised | unrecognised | unrecognized | var | weight | x }}<noinclude> | |||
! ]: | |||
{{Documentation}}<!-- Categories should be put at the bottom of ] --> | |||
|{{{nzkcgroup}}} | |||
</noinclude> | |||
| | |||
<!-- united kennel club --> | |||
|- class="hiddenStructure{{{ukcstd|}}}" style="text-align: left;" | |||
! ]: | |||
| {{{ukcgroup}}} | |||
| | |||
<!-- no major kennel club --> | |||
|- class="hiddenStructure{{{notrecognized|}}}" style="text-align: center;" | |||
| colspan="3" | Not recognized by any major kennel club | |||
|- class="hiddenStructure{{{note|}}}" style="background-color: pink;" | |||
! colspan="3" | Notes | |||
<!-- no major kennel club --> | |||
|- class="hiddenStructure{{{akcfss|}}}" style="text-align: center;" | |||
| colspan="3" | The AKC is for beeds working towards full recognition | |||
<!-- no major kennel club --> | |||
|- class="hiddenStructure{{{note|}}}" style="text-align: center;" | |||
| colspan="3" | {{{note|}}} | |||
|} |
Latest revision as of 17:44, 6 November 2024
Template documentation[view] [edit] [history] [purge]This template uses Lua: |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
{{{name}}} | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
]{{{image_caption}}} | |||||||||||||||||||||||||||||||||||||
Other names | {{{altname}}} | ||||||||||||||||||||||||||||||||||||
Common nicknames | {{{nickname}}} | ||||||||||||||||||||||||||||||||||||
Origin | {{{country}}} | ||||||||||||||||||||||||||||||||||||
Distribution | {{{distribution}}} | ||||||||||||||||||||||||||||||||||||
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 = | distribution = <!-----Traits-----> | height = | maleheight = | femaleheight = | weight = | maleweight = | femaleweight = | coat = | colour = <!-- or | color = --> | litter_size = <!-----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 = }}
{{Infobox dog breed | name = | image = | image_alt = | image_caption = | image2 = | image_alt2 = | image_caption2 = | altname = | nickname = | stock = | country = | distribution = | height = | maleheight = | femaleheight = | weight = | maleweight = | femaleweight = | coat = | colour = | color = | litter_size = | kc_name = | kc_std = | kc2_name = | kc2_std = | fcistd = | notrecognised = | extinct = | note = }}
Parameters
NB: the contents of parameters should corroborate reliably sourced information from the article, no information should be included in the infobox that is not covered in the article and there should be no requirement to add citations to the information.
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.
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, which is supported by reliable sources cited in the body of the article.
distribution
: for breeds with limited range
- Traits
weight
: The general weight rangemaleweight
: The weight range of male dogsfemaleweight
: The weight range of female dogsheight
: The general height rangemaleheight
: The height range of male dogsfemaleheight
: The height range of female dogscoat
: The coat typecolour
orcolor
: Use one only not both. The colour/color as per Misplaced Pages:Manual of Style#National varieties of English.litter_size
: The range in size of a litter
- 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
andkc3_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
ornotrecognized=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.
Unknown parameters
This template uses Module:Check for unknown parameters. All allowed parameters must be listed at {{#invoke:Check for unknown parameters|...}}
in the template's own code. A call with an unlisted parameter causes a warning in previews and adds Category:Pages using infobox dog breed with unknown parameters (174).
Microformat
This template emits a "species" (or "biota") microformat.
The microformat is created by the use of class="biota"
, and classes for individual taxonomic ranks, such as class="domain"
in a span around {{{domain}}} (full list). Please do not change or remove those classes other than as part of development of the microformat. For background information, see microformats on Misplaced Pages and the microformat specification.
Tracking categories
See also
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the breed (or landrace, crossbreed, hybrid, etc.). Should agree with article title (aside from any parenthetical disambiguation). | Content | optional |
image | image | The name of the image. | File | optional |
image_size | image_size | no description | String | optional |
image_alt | image_alt | Alternate text to describe an image to those that cannot see it. | String | optional |
image_caption | image_caption | A caption that describes the image. | Content | optional |
altname | altname | Other names by which the breed is known by English speakers. | Content | optional |
nickname | nickname | Common nicknames. | Content | optional |
stock | stock | List of foundation stock, breeds, landraces, or other populations from which the breed was developed. | Content | optional |
country | country | Country of origin, which is supported by reliable sources cited in the body of the article. | Content | optional |
distribution | distribution | For breeds with limited range | Content | optional |
weight | weight | The general weight range | Content | optional |
maleweight | maleweight | The weight range of male dogs | Content | optional |
femaleweight | femaleweight | The weight range of female dogs | Content | optional |
height | height | The general height range | Content | optional |
maleheight | maleheight | The height range of male dogs | Content | optional |
femaleheight | femaleheight | The height range of female dogs | Content | optional |
coat | coat | The coat type | Content | optional |
colour | colour color | The colour/color. | Content | optional |
litter_size | litter_size | The range in size of a litter | Content | optional |
landrace | landrace | no description | Unknown | optional |
kc_name | 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 | Content | optional |
kc2_name | kc2_name | The name of the national kennel club of the breed’s second country of origin (if applicable) | Content | optional |
kc3_name | kc3_name | The name of the national kennel club of the breed’s second country of origin (if applicable) | Content | optional |
kc_std | kc_std | The URL to the breed standard from the kennel club listed in kc_name | URL | optional |
kc2_std | kc2_std | The URL to the breed standard from the kennel club listed in kc2_name (if appliable) | URL | optional |
kc3_std | kc3_std | The URL to the breed standard from the kennel club listed in kc3_name (if appliable) | URL | optional |
fcistd | fcistd | If the breed is recognised by the FCI, add the URL to the FCI breed standard. | URL | optional |
notrecognised | notrecognised notrecognized | Shows a "Not recognis(z)ed by any major kennel club" if set to "yes".
| String | optional |
extinct | extinct | Shows an "Extinct" message if set to "yes". This parameter should be removed if not used.
| String | optional |
note | note | Free-form concise comments, usually about the breed recognition or standards. | Content | optional |
trinomial | 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. | Content | optional |
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: