Difference between revisions of "Template:Infobox dog breed"
Jump to navigation
Jump to search
imported>Coaster1983 (fixed error) |
(remove border collaspe and update color in accordance with new Animalia taxobox color) |
||
| Line 1: | Line 1: | ||
| − | {| class="infobox" style="width: 20em | + | {| class="infobox" style="width: 20em;" cellpadding="2" |
|- | |- | ||
<!-- the name of the dog --> | <!-- the name of the dog --> | ||
| − | ! colspan="3" style="background-color: | + | ! colspan="3" style="background-color: #D3D3A4;" | <span style="font-size: larger;">{{{name}}}</span> |
|- | |- | ||
<!-- if we have an image --> | <!-- if we have an image --> | ||
{{#if:{{{image|}}}|<tr style="image-align: center;"><td colspan="3">[[Image:{{{image|null.png}}}|250px|center|]]<small><center>{{{image_caption|}}}</center></small></td></tr>}}<!-- | {{#if:{{{image|}}}|<tr style="image-align: center;"><td colspan="3">[[Image:{{{image|null.png}}}|250px|center|]]<small><center>{{{image_caption|}}}</center></small></td></tr>}}<!-- | ||
alternative names one parameter, separate them by <br> if more than one | alternative names one parameter, separate them by <br> if more than one | ||
| − | -->{{#if:{{{altname|}}}|<tr style="background-color: | + | -->{{#if:{{{altname|}}}|<tr style="background-color: #D3D3A4;"><th colspan="3">Alternative names</th></tr><tr style="text-align: center;"><td colspan="3">{{{altname|}}}</td></tr>}}<!-- |
country of origin | country of origin | ||
| − | -->{{#if:{{{country|}}}|<tr style="background-color: | + | -->{{#if:{{{country|}}}|<tr style="background-color: #D3D3A4;"><th colspan="3">Country of origin</th></tr><tr style="text-align: center;"><td colspan="3">{{{country|}}}</td></tr>}}<!-- |
nicknames one parameter separate them by <br /> if more than one | nicknames one parameter separate them by <br /> if more than one | ||
| − | -->{{#if:{{{nickname|}}}|<tr style="background-color: | + | -->{{#if:{{{nickname|}}}|<tr style="background-color: #D3D3A4;"><th colspan="3">Common nicknames</th></tr><tr style="text-align: center;"><td colspan="3">{{{nickname|}}}</td></tr>}}<!-- |
breed table standards links and groupings | 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" | it would be nice to have the following 5 lines to be conditional on the following 6 kennel clubs via an "or" | ||
simply testing against fcistd, akcstd, ankcstd, ckcstd | simply testing against fcistd, akcstd, ankcstd, ckcstd | ||
but it doesn't seem to be a way to do that with hiddenStructure --> | but it doesn't seem to be a way to do that with hiddenStructure --> | ||
| − | |- style="background-color: | + | |- style="background-color: #D3D3A4;" |
! colspan="3" | Classification and breed standards | ! colspan="3" | Classification and breed standards | ||
<!-- the FCI --> | <!-- the FCI --> | ||
| Line 43: | Line 43: | ||
-->{{#if:{{{extinct|}}}|<tr style="text-align: center;"><td colspan="3">This breed of dog is [[Extinction|extinct]]</td></tr>}}<!-- | -->{{#if:{{{extinct|}}}|<tr style="text-align: center;"><td colspan="3">This breed of dog is [[Extinction|extinct]]</td></tr>}}<!-- | ||
note | note | ||
| − | -->{{#if:{{{note|}}}|<tr style="background-color: | + | -->{{#if:{{{note|}}}|<tr style="background-color:#D3D3A4;"><th colspan="3">Notes</th></tr><tr style="text-align: center;"><td colspan="3">{{{note|}}}</td></tr>}} |
|}{{#ifeq:{{NAMESPACEE}}|{{ns:0}}|[[Category:Dog breeds]]}}<noinclude> | |}{{#ifeq:{{NAMESPACEE}}|{{ns:0}}|[[Category:Dog breeds]]}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 06:33, 29 March 2008
| {{{name}}} | ||
|---|---|---|
| Classification and breed standards |
| This template uses Lua: |
| {{{name}}} | ||
|---|---|---|
| [[Image:{{{image}}}|250px|center|]] | ||
| Alternative names | ||
| {{{altname}}} | ||
| Country of origin | ||
| {{{country}}} | ||
| Common nicknames | ||
| {{{nickname}}} | ||
| Classification and breed standards | ||
| FCI: | Group Section {{{fcisection}}} #{{{fcinum}}} | [{{{fcistd}}} Stds] |
| This breed of dog is extinct | ||
| Notes | ||
| {{{note}}} | ||
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. |