Difference between revisions of "Template:Infobox cattle breed"

From blackwiki
Jump to navigation Jump to search
imported>Justlettersandnumbers
(typo)
imported>Justlettersandnumbers
(enable second image)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
+
{{Infobox animal breed
| bodyclass = biota
+
|name                  = {{{name|}}}
| bodystyle = width: 22em;
+
|image                 = {{{image|}}}
| abovestyle = background-color: #D3D3A4;
+
|image_size            = {{{image_size|}}}
| headerstyle= background-color: #D3D3A4;
+
|alt                  = {{{image_alt|}}}
| belowstyle = background-color: #D3D3A4;
+
|caption              = {{{image_caption|}}}
 
+
|image2                = {{{image2|}}}
| above      = {{{name}}}
+
|image_size2          = {{{image_size2|}}}
| aboveclass = breed
+
|image_alt2            = {{{image_alt2|}}}
 
+
|image_caption2        = {{{image_caption2|}}}
| image = {{#if: {{{image|}}} | [[File:{{{image|}}}|{{px|{{{imagedimensions|}}}|250px}}|alt={{{image_alt|}}}|{{{image_caption|}}}]] }}
+
|status                = {{{status|}}}
| caption = {{{image_caption|}}}
+
|alt_name              = {{{altname|}}}
 
+
|nickname              = {{{nickname|}}}
| label1 = Conservation status
+
|country              = {{{country|}}}
| data1  = {{{status|}}}
+
|distribution          = {{{distribution|}}}
 
+
|standard              = {{{standard|}}}
| label2 = Other names
+
|use                  = {{{use|}}}
| data2  = {{{altname|}}}  
+
|weight              = {{{weight|}}}
 
+
|male_weight          = {{{maleweight|}}}
| label3 = Country of origin
+
|female_weight        = {{{femaleweight|}}}
| data3  = {{{country|}}}
+
|height                    = {{{height|}}}
 
+
|male_height          = {{{maleheight|}}}
| label4 = Nicknames
+
|female_height        = {{{femaleheight|}}}
| data4  = {{{nickname|}}}
+
|skin_color            = {{{skincolor|}}}
 
+
|skin_colour          = {{{skincolour|}}}
| header5 = {{#if:{{{maleweight|}}}{{{femaleweight|}}}{{{coat|}}}{{{horn|}}}|Traits}}
+
|egg_color            =
 
+
|comb                  =  
| label6  = Weight
+
|crest                =
| data6  = {{#if:{{{maleweight|}}}|Bull: <span style="float: right;">{{{maleweight}}}</span>}}
+
|feather              =  
 
+
|coat                  = {{{coat|}}}
| label7  = {{#if:{{{maleweight|}}}|&nbsp; |Weight}}
+
|type                  =
| data7  = {{#if:{{{femaleweight|}}}|Cow: <span style="float: right;">{{{femaleweight}}}</span>}}
+
|wool_color            =
 
+
|face_color            =  
| label8  = Height&nbsp;(withers)
+
|horn                  = {{{horn|}}}
| data8  = {{#if:{{{maleheight|}}}|Bull: <span style="float: right;">{{{maleheight}}}</span>}}
+
|color                =
 
+
|litter_size          =  
| label9  = {{#if:{{{maleweight|}}}|&nbsp; |Height&nbsp;(withers)}}
+
|life_span            =
| data9  = {{#if:{{{femaleheight|}}}|Cow: <span style="float: right;">{{{femaleheight}}}</span>}}
+
|fur_type              =
 
+
|trait_label          =  
| label10  = Coat
+
|trait_data            =
| data10  = {{{coat|}}}
+
|trait1_label          =
 
+
|trait1_data          = <!-- etc, up to trait4_label / trait4_data -->
| label11 = Horn status
+
|classification_label  =
| data11 = {{{horn|}}}
+
|classification_data   =  
 
+
|classification1_label =
| header12 = {{#if:{{{use|}}}|Use}}
+
|classification1_data  = <!-- etc, up to classification8_label / classification8_data -->
| data13  = {{{use|}}}
+
|notes                = {{{note|}}}
 
+
|vernacular_name      = [[Cattle]]
| header14 = {{#if:{{{distribution|}}}|Distribution}}
+
|trinominal_name      = {{#switch: {{{subspecies|}}}
| data15   = {{{distribution|}}}
+
|taurus=Bos (primigenius) taurus
 
+
|indicus=Bos (primigenius) indicus
| header16= {{#if:{{{note|}}} |Notes}}
+
|hybrid=Hybrid Bos (primigenius) taurus/indicus
| data17  = {{{note|}}}
+
|Bos primigenius
 
 
| 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>

Latest revision as of 11:26, 27 June 2020

WeightTemplate:Ubl
HeightTemplate:Ubl
Template:Ubl

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

50px 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
File: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