Difference between revisions of "Template:Infobox donkey/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Underlying lk
(Created page with '{{Infobox animal breed |name = {{{name|}}} |image = {{{image|}}} |image_size = |alt = {{{image_alt...')
 
imported>Underlying lk
 
Line 5: Line 5:
 
|alt                  = {{{image_alt|}}}
 
|alt                  = {{{image_alt|}}}
 
|caption              = {{{image_caption|}}}
 
|caption              = {{{image_caption|}}}
|status                = {{{status|}}}
+
|status                = {{#switch:{{{status|}}}
 +
              | not recognized
 +
              | notrecognized  = ''Not recognized by any major registry''
 +
              | extinct        = ''[[Extinction|extinct]]''
 +
              }}
 
|alt_name              = {{{altname|}}}
 
|alt_name              = {{{altname|}}}
 
|nickname              = {{{nickname|}}}
 
|nickname              = {{{nickname|}}}
Line 36: Line 40:
 
|trait1_data          = <!-- etc, up to trait4_label / trait4_data -->
 
|trait1_data          = <!-- etc, up to trait4_label / trait4_data -->
 
|classification_label  = {{{group1|}}}
 
|classification_label  = {{{group1|}}}
|classification_data  = {{{std1|}}}
+
|classification_data  = {{#if:{{{std1|}}}|[{{{std1}}} Breed standards]}}
 
|classification1_label = {{{group2|}}}
 
|classification1_label = {{{group2|}}}
|classification1_data  = {{{std2|}}}
+
|classification1_data  = {{#if:{{{std2|}}}|[{{{std2}}} Breed standards]}}
 
|classification2_label = {{{group3|}}}
 
|classification2_label = {{{group3|}}}
|classification2_data  = {{{std3|}}}
+
|classification2_data  = {{#if:{{{std3|}}}|[{{{std3}}} Breed standards]}}
 
|classification3_label = {{{group4|}}}
 
|classification3_label = {{{group4|}}}
|classification3_data  = {{{std4|}}}
+
|classification3_data  = {{#if:{{{std4|}}}|[{{{std4}}} Breed standards]}}
 
|classification4_label = {{{group5|}}}
 
|classification4_label = {{{group5|}}}
|classification4_data  = {{{std5|}}}
+
|classification4_data  = {{#if:{{{std5|}}}|[{{{std5}}} Breed standards]}}
 
|classification5_label = {{{group6|}}}
 
|classification5_label = {{{group6|}}}
|classification5_data  = {{{std6|}}}
+
|classification5_data  = {{#if:{{{std6|}}}|[{{{std6}}} Breed standards]}}
 
|notes                = {{{note|}}}
 
|notes                = {{{note|}}}
 
|vernacular_name      = [[Donkey]]
 
|vernacular_name      = [[Donkey]]

Latest revision as of 18:41, 1 October 2013

WeightTemplate:Ubl
HeightTemplate:Ubl
Template:Ubl
Template documentation[view] [edit] [history] [purge]

This infobox is for breeds of donkey such as the Poitou donkey.

Usage

{{ infobox donkey
| name            = 
| image           = 
| image_size      =
| image_alt       = 
| image_caption   = 
| status          =
| altname         = 
| nickname        = 
| country         = 
| distribution    = 
| standard        = 
| use             = 
| weight          =
| maleweight      =
| femaleweight    = 
| height          =
| maleheight      =
| femaleheight    = 
| coat            =
| features        =              
| note            = 
}}
{{ infobox donkey
| name            = name of donkey breed
| image           = image.ext
| image_size      = image size
| image_alt       = alt text for image; see [[WP:ALT]]
| image_caption   = caption
| status          = conservation status (extinct, critical, endangered, etc)
| altname         = alternate name; use {{Unbulleted list}} if more than one
| country         = country of origin
| distribution    = For example, Africa, South-East Asia, world-wide (about 70 countries) 
| standard        = [url Entity]; use {{Unbulleted list}} if more than one
| use             = 
| weight          = weight
| maleweight      = male weight
| femaleweight    = female weight
| height          = height at withers
| maleheight      = male height at withers
| femaleheight    = female height at withers
| coat            = coat colo(u)r
| features        =              
| note            = extra notes
}}

Examples

Poitou donkey
A tall donkey with a shaggy coat
Other names
  • Baudet du Poitou
  • Poitevin donkey
Country of originFrance
StandardHaras Nationaux
Usesiring mules
Traits
WeightTemplate:Ubl
HeightTemplate:Ubl
CoatBay or black, long and shaggy
Template:Ubl
{{Infobox donkey 
| name            = Poitou donkey
| image           = Baudet-du-Poitou.jpg
| image_size      = 280px
| image_alt       = A tall donkey with a shaggy coat
| image_caption   = 
| status          =
| altname         = {{unbulleted list|Baudet du Poitou|Poitevin donkey}}
| nickname        = 
| country         = France
| distribution    = 
| standard        = [http://www.haras-nationaux.fr/fileadmin/bibliotheque/Reglementation/Stud-books/Anes/Reglement-Baudet_du_Poitou-17-12-2013.pdf Haras Nationaux]
| use             = siring mules
| maleheight      = minimum 1.40 m
| femaleheight    = minimum 1.35 m
| coat            = [[Bay (horse)|Bay]] or black, long and shaggy
| features        = 
}}

Microformats

Template:UF-species