Difference between revisions of "Template:Infobox cattle breed"

From blackwiki
Jump to navigation Jump to search
imported>Justlettersandnumbers
(typo)
imported>Underlying lk
Line 1: Line 1:
{{Infobox
+
{{Infobox animal breed
| bodyclass = biota
+
|name                  = {{{name|}}}
| bodystyle = width: 22em;
+
|image                 = {{{image|}}}
| abovestyle = background-color: #D3D3A4;
+
|image_size            =
| headerstyle= background-color: #D3D3A4;
+
|alt                   = {{{image_alt|}}}
| belowstyle = background-color: #D3D3A4;
+
|caption               = {{{image_caption|}}}
 
+
|status               = {{{status|}}}
| above      = {{{name}}}
+
|alt_name              = {{{altname|}}}
| aboveclass = breed
+
|nickname              = {{{nickname|}}}
 
+
|country              = {{{country|}}}
| image = {{#if: {{{image|}}} | [[File:{{{image|}}}|{{px|{{{imagedimensions|}}}|250px}}|alt={{{image_alt|}}}|{{{image_caption|}}}]] }}
+
|distribution          = {{{distribution|}}}
| caption = {{{image_caption|}}}
+
|standard              =  
 
+
|use                  = {{{use|}}}
| label1 = Conservation status
+
|male_weight          = {{{maleweight|}}}
| data1  = {{{status|}}}
+
|female_weight        = {{{femaleweight|}}}
 
+
|male_height          = {{{maleheight|}}}
| label2 = Other names
+
|female_height        = {{{femaleheight|}}}
| data2  = {{{altname|}}}  
+
|skin_color            =
 
+
|egg_color            =  
| label3 = Country of origin
+
|comb                  =  
| data3  = {{{country|}}}
+
|crest                =
 
+
|feather              =  
| label4 = Nicknames
+
|coat                  = {{{coat|}}}
| data4  = {{{nickname|}}}
+
|type                  =  
 
+
|wool_color            =  
| header5 = {{#if:{{{maleweight|}}}{{{femaleweight|}}}{{{coat|}}}{{{horn|}}}|Traits}}
+
|face_color            =  
 
+
|horn                  = {{{horn|}}}
| label6  = Weight
+
|color                =
| data6  = {{#if:{{{maleweight|}}}|Bull: <span style="float: right;">{{{maleweight}}}</span>}}
+
|litter_size          =  
 
+
|life_span            =  
| label7  = {{#if:{{{maleweight|}}}|&nbsp; |Weight}}
+
|fur_type              =
| data7  = {{#if:{{{femaleweight|}}}|Cow: <span style="float: right;">{{{femaleweight}}}</span>}}
+
|trait_label          =
 
+
|trait_data            =  
| label8  = Height&nbsp;(withers)
+
|trait1_label          =
| data8  = {{#if:{{{maleheight|}}}|Bull: <span style="float: right;">{{{maleheight}}}</span>}}
+
|trait1_data          = <!-- etc, up to trait4_label / trait4_data -->
 
+
|classification_label  =  
| label9  = {{#if:{{{maleweight|}}}|&nbsp; |Height&nbsp;(withers)}}
+
|classification_data   =  
| data9  = {{#if:{{{femaleheight|}}}|Cow: <span style="float: right;">{{{femaleheight}}}</span>}}
+
|classification1_label =
 
+
|classification1_data  = <!-- etc, up to classification8_label / classification8_data -->
| label10  = Coat
+
|notes                = {{{note|}}}
| data10  = {{{coat|}}}
+
|vernacular_name      = [[Cattle]]
 
+
|trinominal_name      = {{#switch: {{{subspecies|}}}
| label11 = Horn status
+
|taurus=Bos (primigenius) taurus
| data11 = {{{horn|}}}
+
|indicus=Bos (primigenius) indicus
 
+
|hybrid=Hybrid Bos (primigenius) taurus/indocus
| header12 = {{#if:{{{use|}}}|Use}}
+
|Bos primigenius
| data13  = {{{use|}}}
 
 
 
| header14 = {{#if:{{{distribution|}}}|Distribution}}
 
| data15   = {{{distribution|}}}
 
 
 
| header16= {{#if:{{{note|}}} |Notes}}
 
| data17  = {{{note|}}}
 
 
 
| below  =  
 
 
 
{{#switch: {{{subspecies|}}}
 
|taurus=<span class="vernacular">[[Cattle]]</span> <br />''<span class="trinomial">Bos (primigenius) taurus</span>''
 
|indicus=<span class="vernacular">[[Cattle]]</span> <br />''<span class="trinomial">Bos (primigenius) indicus</span>''
 
|hybrid=<span class="vernacular">[[Cattle]]</span> <br />''<span class="trinomial">Hybrid Bos (primigenius) taurus/indocus</span>''
 
|<span class="vernacular">[[Cattle]]</span> <br />''<span class="binominal">Bos primigenius</span>''
 
 
}}
 
}}
 
 
}}{{ns0|[[Category:Articles with 'species' microformats]][[Category:Cattle breeds]]}}<noinclude>
 
}}{{ns0|[[Category:Articles with 'species' microformats]][[Category:Cattle breeds]]}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:06, 1 October 2013

WeightTemplate:Ubl
HeightTemplate:Ubl
Template:Ubl

[[Category:Infobox templates|Template:Remove first word]]Template:Ns0

Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox cattle breed
| name          = name of cattle 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           = e.g., beef, dairy, draft, dual-purpose beef/dairy of beef/draft
| nickname      = nickname; use {{Unbulleted list}} if more than one
| weight        = weight (use for average or if m/f data is not available)
| maleweight    = male weight
| femaleweight  = female weight
| height        = height at withers (use for average or if m/f data is not available)
| maleheight    = male height at withers
| femaleheight  = female height at withers
| skincolor     = skin color (US English)
| skincolour    = skin colour (UK English)
| coat          = coat colo(u)r, for example red, black, white spotting on red, white face, red roan, black brindle
| horn          = e.g., horned, polled, horned and polled
| subspecies    = "taurus", "indicus" or "hybrid" (exactly, without quotes)
| note          = extra notes
}}
{{Infobox cattle breed
| name          = 
| image         = 
| image_size    =
| image_alt     = 
| image_caption = 
| status        = 
| altname       =
| country       = 
| distribution  = 
| standard      = 
| use           = 
| nickname      = 
| weight        =
| maleweight    = 
| femaleweight  = 
| height        =
| maleheight    = 
| femaleheight  = 
| skincolor     = 
| skincolour    =
| coat          = 
| horn          = 
| subspecies    = 
| note          = 
}}

Examples

Ayrshire
AyrshireCattle1.JPG
Country of originUnited Kingdom
DistributionWorld-wide, mainly temperate climates
UseDairy, with exceptional foraging ability
Traits
WeightTemplate:Ubl
HeightTemplate:Ubl
CoatRed and white
Horn statusHorned, mainly dehorned as calves
Template:Ubl
[[Category:Infobox templates|Template:Remove first word]]Template:Ns0

Microformat

Template:UF-species