Jump to content

Template:Infobox dog breed: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
fix accessibility, see Don't use hiddenStructure
rvt. accessibility is not a problem here, but ugly template source is with these changes
Line 5: Line 5:
|-
|-
<!-- if we have an image -->
<!-- if we have an image -->
{{qif|test={{{image|}}}|then=<tr style="image-align: center;"><td colspan="3">[[Image:{{{image|null.png}}}|250px|thumb|none|{{{image_caption|}}}]]</td></tr>}}<!--
|- class{{{image|}}}="hiddenStructure" style="image-align: center;"
| colspan="3" | [[Image:{{{image|null.png}}}|250px|thumb|none|{{{image_caption|}}}]]
alternative names one parameter, separate them by <br> if more than one
<!-- alternative names one parameter, separate them by <br> if more than one-->
-->{{qif|test={{{altname|}}}|then=<tr style="background-color: pink;"><th colspan="3">Alternative names</th></tr><tr style="text-align: center;"><td colspan="3">{{{altname|}}}</td></tr>}}<!--
|- class{{{altname|}}}="hiddenStructure" style="background-color: pink;"
! colspan="3" | Alternative names
country of origin
-->{{qif|test={{{country|}}}|then=<tr style="background-color: pink;"><th colspan="3">Country of origin</th></tr><tr style="text-align: center;"><td colspan="3">{{{country|}}}</td></tr>}}<!--
|- class{{{altname|}}}="hiddenStructure" style="text-align: center;"
| colspan="3" | {{{altname|}}}
nicknames one parameter separate them by <br /> if more than one
<!-- country of origin -->
-->{{qif|test={{{nickname|}}}|then=<tr style="background-color: pink;"><th colspan="3">Common nicknames</th></tr><tr style="text-align: center;"><td colspan="3">{{{nickname|}}}</td></tr>}}<!--
|- class{{{country|}}}="hiddenStructure" style="background-color: pink;"
breed table standards links and groupings
! colspan="3" | Country of origin
it would be nice to have the following 5 lines to be conditional on the following 6 kennel clubs via an "or"
|- class{{{country|}}}="hiddenStructure" style="text-align: center;"
simply testing against fcistd, akcstd, ankcstd, ckcstd
| colspan="3" | {{{country|}}}
but it doesn't seem to be a way to do that with hiddenStructure -->
<!-- nicknames one parameter separate them by <br> if more than one -->
|- class{{{nickname|}}}="hiddenStructure" style="background-color: pink;"
! colspan="3" | Common nicknames
|- class{{{nickname|}}}="hiddenStructure" style="text-align: center;"
| colspan="3" | {{{nickname|}}}
<!-- 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" -->
<!-- simply testing against fcistd, akcstd, ankcstd, ckcstd
<!-- but it doesn't seem to be a way to do that with hiddenStructure -->
|- style="background-color: pink;"
|- style="background-color: pink;"
! colspan="3" | Classification and breed standards
! colspan="3" | Classification and breed standards
<!-- the FCI -->
<!-- the FCI -->
{{qif|test={{{fcistd|}}}|then=<tr style="text-align: left;"><th>[[Fédération_Cynologique_Internationale|FCI]]:</th><td>Group {{{fcigroup|}}} Section {{{fcisection}}} #{{{fcinum}}}</td><td>[{{{fcistd}}} Stds]</td></tr>}}<!--
|- class{{{fcistd|}}}="hiddenStructure" style="text-align: left;"
! [[Fédération_Cynologique_Internationale|FCI]]:
| Group {{{fcigroup|}}} Section {{{fcisection}}} #{{{fcinum}}}
| [{{{fcistd}}} Stds]
the AKC
<!-- the AKC -->
-->{{qif|test={{{akcstd|}}}|then=<tr style="text-align: left;"><th>[[American Kennel Club|AKC]]:</th><td>{{{akcgroup}}}</td><td>[{{{akcstd}}} Stds]</td></tr>}}<!--
|- class{{{akcstd|}}}="hiddenStructure" style="text-align: left;"
! [[American Kennel Club|AKC]]:
AKC FSS group
| {{{akcgroup}}}
-->{{qif|test={{{akcfss|}}}|then=<tr style="text-align: left;"><td></td><td colspan="2">The AKC [http://www.akc.org/reg/fss_details.cfm Foundation Stock Service] (FSS) is an optional recording service for purebred dogs that are not yet eligible for AKC registration.</td></tr>}}<!--
| [{{{akcstd}}} Stds]
AKC misc group
<!-- AKC FSS group -->
-->{{qif|test={{{akcmisc|}}}|then=<tr style="text-align: left;"><td></td><td colspan="2">The AKC [http://www.akc.org/breeds/miscellaneous_class.cfm Miscellaneous class] is for breeds working towards full AKC recognition.</td></tr>}}<!--
|- class{{{akcfss|}}}="hiddenStructure" style="text-align: left;"
the Australian National Kennel Council
|
-->{{qif|test={{{ankcstd|}}}|then=<tr style="text-align: left;"><th>[[Australian National Kennel Council|ANKC]]:</th><td>{{{ankcgroup}}}</td><td>[{{{ankcstd}}} Stds]</td></tr>}}<!--
| colspan="2" | The AKC [http://www.akc.org/reg/fss_details.cfm Foundation Stock Service] (FSS) is an optional recording service for purebred dogs that are not yet eligible for AKC registration.
the Canadian Kennel Club
<!-- AKC misc group -->
-->{{qif|test={{{ckcstd|}}}|then=<tr style="text-align: left;"><th>[[Canadian Kennel Club|CKC]]:</th><td>{{{ckcgroup|}}}</td><td>[{{{ckcstd}}} Stds]</td></tr>}}<!--
|- class{{{akcmisc|}}}="hiddenStructure" style="text-align: left;"
CKC misc group
|
-->{{qif|test={{{ckcmisc|}}}|then=<tr style="text-align: left;"><td></td><td colspan="2">The CKC Miscellaneous group is for breeds working towards full CKC recognition.</td></tr>}}<!--
| colspan="2" | The AKC [http://www.akc.org/breeds/miscellaneous_class.cfm Miscellaneous class] is for breeds working towards full AKC recognition.
kennel club of the UK
<!-- the Australian National Kennel Council -->
-->{{qif|test={{{kcukstd|}}}|then=<tr style="text-align: left;"><th style="white-space: nowrap;">[[Kennel Club (UK)|KC (UK)]]:</th><td>{{{kcukgroup}}}</td><td>[{{{kcukstd}}} Stds]</td></tr>}}<!--
|- class{{{ankcstd|}}}="hiddenStructure" style="text-align: left;"
new zeland kennel club
! [[Australian National Kennel Council|ANKC]]:
-->{{qif|test={{{nzkcstd|}}}|then=<tr style="text-align: left;"><th>[[New Zealand Kennel Club|NZKC]]:</th><td>{{{nzkcgroup}}}</td><td>[{{{nzkcstd}}} Stds]</td></tr>}}<!--
| {{{ankcgroup}}}
united kennel club
| [{{{ankcstd}}} Stds]
-->{{qif|test={{{ukcstd|}}}|then=<tr style="text-align: left;"><th>[[United Kennel Club|UKC]]:</th><td>{{{ukcgroup}}}</td><td>[{{{ukcstd}}} Stds]</td></tr>}}<!--
<!-- the Canadian Kennel Club -->
no major kennel club
|- class{{{ckcstd|}}}="hiddenStructure" style="text-align: left;"
-->{{qif|test={{{notrecognized|}}}|then=<tr style="text-align: center;"><td colspan="3">Not recognized by any major kennel club</td></tr>}}<!--
! [[Canadian Kennel Club|CKC]]:
no major kennel club, because it's extinct
| {{{ckcgroup|}}}
-->{{qif|test={{{extinct|}}}|then=<tr style="text-align: center;"><td colspan="3">This breed of dog is [[Extinction|extinct]]</td></tr>}}<!--
| [{{{ckcstd}}} Stds]
note
<!-- CKC misc group -->
-->{{qif|test={{{note|}}}|then=<tr style="background-color: pink;"><th colspan="3">Notes</th></tr><tr style="text-align: center;"><td colspan="3">{{{note|}}}</td></tr>}}
|- class{{{ckcmisc|}}}="hiddenStructure" style="text-align: left;"
|
| colspan="2" | The CKC Miscellaneous group is for breeds working towards full CKC recognition.
<!-- kennel club of the UK -->
|- class{{{kcukstd|}}}="hiddenStructure" style="text-align: left;"
! style="white-space: nowrap;" | [[Kennel Club (UK)|KC (UK)]]:
| {{{kcukgroup}}}
| [{{{kcukstd}}} Stds]
<!-- new zeland kennel club -->
|- class{{{nzkcstd|}}}="hiddenStructure" style="text-align: left;"
! [[New Zealand Kennel Club|NZKC]]:
|{{{nzkcgroup}}}
| [{{{nzkcstd}}} Stds]
<!-- united kennel club -->
|- class{{{ukcstd|}}}="hiddenStructure" style="text-align: left;"
! [[United Kennel Club|UKC]]:
| {{{ukcgroup}}}
| [{{{ukcstd}}} Stds]
<!-- no major kennel club -->
|- class{{{notrecognized|}}}="hiddenStructure" style="text-align: center;"
| colspan="3" | Not recognized by any major kennel club
<!-- no major kennel club, because it's extinct -->
|- class{{{extinct|}}}="hiddenStructure" style="text-align: center;"
| colspan="3" | This breed of dog is [[Extinction|extinct]]
<!-- note -->
|- class{{{note|}}}="hiddenStructure" style="background-color: pink;"
! colspan="3" | Notes
<!-- note -->
|- class{{{note|}}}="hiddenStructure" style="text-align: center;"
| colspan="3" | {{{note|}}}
|}<includeonly>[[Category:Dog breeds]]</includeonly><noinclude>
|}<includeonly>[[Category:Dog breeds]]</includeonly><noinclude>


Line 55: Line 98:
|image= ...
|image= ...
|image_caption= ...
|image_caption= ...
|altname= ... <br /> ... <br />
|altname= ... <br> ... <br>
|nickname= ... <br /> ... <br />
|nickname= ... <br> ... <br>
|country= ...
|country= ...
|fcigroup= ...
|fcigroup= ...

Revision as of 07:30, 12 March 2006

{{{name}}}
Alternative names
Country of origin
Common nicknames
Classification and breed standards
FCI: Group Section {{{fcisection}}} #{{{fcinum}}} [{{{fcistd}}} Stds]
AKC: {{{akcgroup}}} [{{{akcstd}}} Stds]
The AKC Foundation Stock Service (FSS) is an optional recording service for purebred dogs that are not yet eligible for AKC registration.
The AKC Miscellaneous class is for breeds working towards full AKC recognition.
ANKC: {{{ankcgroup}}} [{{{ankcstd}}} Stds]
CKC: [{{{ckcstd}}} Stds]
The CKC Miscellaneous group is for breeds working towards full CKC recognition.
KC (UK): {{{kcukgroup}}} [{{{kcukstd}}} Stds]
NZKC: {{{nzkcgroup}}} [{{{nzkcstd}}} Stds]
UKC: {{{ukcgroup}}} [{{{ukcstd}}} Stds]
Not recognized by any major kennel club
This breed of dog is extinct
Notes

   USAGE 

{{Infobox Dogbreed 
|name= ...
|image= ...
|image_caption= ...
|altname= ... <br> ... <br>
|nickname= ... <br> ... <br>
|country= ...
|fcigroup= ... 
|fcisection= ... 
|fcinum= ...
|fcistd= ...
|akcgroup= ...
|akcstd= ...
|ankcgroup= ...
|ankcstd= ...
|ckcgroup= ... 
|ckcstd= ...
|kcukgroup= ...
|kcukstd= ...
|nzkcgroup= ...
|nzkcstd= ...
|ukcgroup= ...
|ukcstd= ...
|notrecognized= ...
|akcfss= ...
|akcmisc= ...
|ckcmisc= ...
|extinct= ...
|note= ...
|}}