Difference between revisions of "Template:Infobox sheep breed/doc"
Jump to navigation
Jump to search
imported>Funandtrvl (fx) |
imported>Vanisaac m (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 88: | Line 88: | ||
{{UF-species}} | {{UF-species}} | ||
| − | < | + | == TemplateData == |
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "description": "Name of the sheep breed", | ||
| + | "required": true | ||
| + | }, | ||
| + | "image": { | ||
| + | "label": "Image of the sheep", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "image_size": { | ||
| + | "label": "Size of the image" | ||
| + | }, | ||
| + | "image_alt": {}, | ||
| + | "image_caption": { | ||
| + | "label": "Image caption" | ||
| + | }, | ||
| + | "status": {}, | ||
| + | "altname": { | ||
| + | "label": "Alternative name(s)" | ||
| + | }, | ||
| + | "nickname": {}, | ||
| + | "country": {}, | ||
| + | "distribution": { | ||
| + | "label": "Distrobution", | ||
| + | "description": "Where the sheep can be found", | ||
| + | "example": "Worldwide", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "standard": {}, | ||
| + | "use": { | ||
| + | "label": "Use", | ||
| + | "description": "What the sheep are reared for", | ||
| + | "example": "Wool", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "maleweight": { | ||
| + | "label": "Male Weight", | ||
| + | "description": "The average weight of the male (ram)", | ||
| + | "type": "number", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "femaleweight": { | ||
| + | "label": "Female Weight", | ||
| + | "description": "The average weight of the female (ewe)" | ||
| + | }, | ||
| + | "maleheight": { | ||
| + | "label": "Male Height", | ||
| + | "description": "The average male (ram) height", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "femaleheight": { | ||
| + | "label": "Female Height", | ||
| + | "description": "The average female (eve) height", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "skincolor": { | ||
| + | "label": "Skin colour", | ||
| + | "description": "The skin colour of the sheep", | ||
| + | "example": "White" | ||
| + | }, | ||
| + | "type": {}, | ||
| + | "woolcolor": { | ||
| + | "label": "Wool colour", | ||
| + | "description": "The colour of the wool" | ||
| + | }, | ||
| + | "facecolor": { | ||
| + | "label": "Face colour", | ||
| + | "description": "The colour of the face" | ||
| + | }, | ||
| + | "horns": { | ||
| + | "label": "Horns", | ||
| + | "description": "Is the sheep horned" | ||
| + | }, | ||
| + | "note": { | ||
| + | "label": "Note", | ||
| + | "description": "Any notes" | ||
| + | } | ||
| + | }, | ||
| + | "description": "An infobox to describe a breed of sheep", | ||
| + | "format": "block" | ||
| + | } | ||
| + | </templatedata> | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Animal infobox templates|Sheep Breed]] | [[Category:Animal infobox templates|Sheep Breed]] | ||
[[Category:Sheep breeds| ]] | [[Category:Sheep breeds| ]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 21:17, 25 April 2020
| This is a documentation subpage for Template:Infobox sheep breed. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
{{Infobox sheep breed
| name = name of sheep 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 = distribution
| standard = [url Entity]; use {{Unbulleted list}} if more than one
| type = e.g., upland, lowland, fat-tailed, hair
| use = e.g., meat, wool, milk, vegetation control
| nickname = nickname; use {{Unbulleted list}} if more than one
| maleweight = male weight
| femaleweight = female weight
| maleheight = male height
| femaleheight = female height
| skincolor = skin color
| woolcolor = wool color
| facecolor = face color
| horns = horned or hornless
| note = extra notes
}}
{{Infobox sheep breed
| name =
| image =
| image_size =
| image_alt =
| image_caption =
| status =
| altname =
| nickname =
| country =
| distribution =
| standard =
| use =
| maleweight =
| femaleweight =
| maleheight =
| femaleheight =
| skincolor =
| type =
| woolcolor =
| facecolor =
| horns =
| note =
}}
Examples
![]() A Dorper flock | |
| Conservation status | Common |
|---|---|
| Country of origin | South Africa |
| Traits | |
| Weight | Template:Ubl |
| Height | Template:Ubl |
| Wool color | Mainly black, some white |
| Face color | Black |
| Template:Ubl | |
{{Infobox sheep breed
| name = Dorper
| altname =
| country = [[South Africa]]
| status = Common
| image = Point Buchon Trail sheep.jpg
| image_caption = A Dorper flock
| maleweight =
| femaleweight =
| woolcolor = Mainly black, some white
| facecolor = Black
}}
Microformat
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox sheep breed
An infobox to describe a breed of sheep
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the sheep breed | Unknown | required |
| Image of the sheep | image | no description | Unknown | suggested |
| Size of the image | image_size | no description | Unknown | optional |
| Image_alt | image_alt | no description | Unknown | optional |
| Image caption | image_caption | no description | Unknown | optional |
| Status | status | no description | Unknown | optional |
| Alternative name(s) | altname | no description | Unknown | optional |
| Nickname | nickname | no description | Unknown | optional |
| Country | country | no description | Unknown | optional |
| Distrobution | distribution | Where the sheep can be found
| String | optional |
| Standard | standard | no description | Unknown | optional |
| Use | use | What the sheep are reared for
| String | optional |
| Male Weight | maleweight | The average weight of the male (ram) | Number | suggested |
| Female Weight | femaleweight | The average weight of the female (ewe) | Unknown | optional |
| Male Height | maleheight | The average male (ram) height | Number | optional |
| Female Height | femaleheight | The average female (eve) height | Number | optional |
| Skin colour | skincolor | The skin colour of the sheep
| Unknown | optional |
| Type | type | no description | Unknown | optional |
| Wool colour | woolcolor | The colour of the wool | Unknown | optional |
| Face colour | facecolor | The colour of the face | Unknown | optional |
| Horns | horns | Is the sheep horned | Unknown | optional |
| Note | note | Any notes | Unknown | optional |
