Difference between revisions of "Template:Infobox sheep breed/doc"
Jump to navigation
Jump to search
imported>Justlettersandnumbers (image size, horns) |
imported>Vanisaac m (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
== Usage == | == Usage == | ||
| − | |||
<pre style="overflow: auto"> | <pre style="overflow: auto"> | ||
{{Infobox sheep breed | {{Infobox sheep breed | ||
| Line 12: | Line 11: | ||
| image_caption = caption | | image_caption = caption | ||
| status = conservation status (extinct, critical, endangered, etc) | | status = conservation status (extinct, critical, endangered, etc) | ||
| − | | altname = | + | | altname = alternate name; use {{Unbulleted list}} if more than one |
| country = country of origin | | country = country of origin | ||
| distribution = distribution | | 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 | | use = e.g., meat, wool, milk, vegetation control | ||
| nickname = nickname; use {{Unbulleted list}} if more than one | | nickname = nickname; use {{Unbulleted list}} if more than one | ||
| Line 21: | Line 22: | ||
| maleheight = male height | | maleheight = male height | ||
| femaleheight = female height | | femaleheight = female height | ||
| + | | skincolor = skin color | ||
| woolcolor = wool color | | woolcolor = wool color | ||
| facecolor = face color | | facecolor = face color | ||
| Line 36: | Line 38: | ||
| status = | | status = | ||
| altname = | | altname = | ||
| + | | nickname = | ||
| country = | | country = | ||
| distribution = | | distribution = | ||
| + | | standard = | ||
| use = | | use = | ||
| − | |||
| maleweight = | | maleweight = | ||
| femaleweight = | | femaleweight = | ||
| maleheight = | | maleheight = | ||
| femaleheight = | | femaleheight = | ||
| + | | skincolor = | ||
| + | | type = | ||
| woolcolor = | | woolcolor = | ||
| facecolor = | | facecolor = | ||
| Line 52: | Line 57: | ||
== Examples == | == Examples == | ||
| − | |||
{{Infobox sheep breed | {{Infobox sheep breed | ||
| name = Dorper | | name = Dorper | ||
| Line 65: | Line 69: | ||
| facecolor = Black | | facecolor = Black | ||
}} | }} | ||
| + | <pre style="overflow:auto;"> | ||
| + | {{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 | ||
| + | }} | ||
| + | </pre> | ||
{{clear}} | {{clear}} | ||
== Microformat == | == Microformat == | ||
| + | {{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> | + | <includeonly>{{Sandbox other|| |
| − | <!-- | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
| + | [[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 |
