Difference between revisions of "Template:Infobox pepper/doc"
Jump to navigation
Jump to search
imported>Plantdrew (add template data) |
imported>ShakespeareFan00 m (Mismatched italic formatting repaired) |
||
| Line 27: | Line 27: | ||
; <code>caption</code>: A caption for the image. | ; <code>caption</code>: A caption for the image. | ||
; <code>alt</code>: [[alt text]] for the image. | ; <code>alt</code>: [[alt text]] for the image. | ||
| − | ; <code>heat</code>: How hot the subject is. This can hold any value, but there are some special cases which will automatically present the subject with a "chilli rating" image: <ul | + | ; <code>heat</code>: How hot the subject is. This can hold any value, but there are some special cases which will automatically present the subject with a "chilli rating" image: |
| + | <ul> | ||
<li><code>heat = Mild</code> or <code>heat = mild</code>: in terms of chilli peppers, this would suit a Scoville rating between 0-999.</li> | <li><code>heat = Mild</code> or <code>heat = mild</code>: in terms of chilli peppers, this would suit a Scoville rating between 0-999.</li> | ||
<li><code>heat = Low</code> or <code>heat = low</code>: in terms of chilli peppers, this would suit a Scoville rating between 1,000-3,999.</li> | <li><code>heat = Low</code> or <code>heat = low</code>: in terms of chilli peppers, this would suit a Scoville rating between 1,000-3,999.</li> | ||
| Line 33: | Line 34: | ||
<li><code>heat = Hot</code> or <code>heat = hot</code>: in terms of chilli peppers, this would suit a Scoville rating between 9,999-49,999.</li> | <li><code>heat = Hot</code> or <code>heat = hot</code>: in terms of chilli peppers, this would suit a Scoville rating between 9,999-49,999.</li> | ||
<li><code>heat = Very Hot</code> or <code>heat = very hot</code>: in terms of chilli peppers, this would suit a Scoville rating between 50,000-250,000.</li> | <li><code>heat = Very Hot</code> or <code>heat = very hot</code>: in terms of chilli peppers, this would suit a Scoville rating between 50,000-250,000.</li> | ||
| − | <li><code>heat = Exceptionally Hot</code> or <code>heat = exceptionally hot</code> in terms of chilli peppers, this would suit a Scoville rating of 250,000+.</li></ul> | + | <li><code>heat = Exceptionally Hot</code> or <code>heat = exceptionally hot</code> in terms of chilli peppers, this would suit a Scoville rating of 250,000+.</li> |
| + | </ul> | ||
; <code>scoville</code>: freeform field for giving an approximate [[Scoville scale|Scoville rating]] for the subject's heat. | ; <code>scoville</code>: freeform field for giving an approximate [[Scoville scale|Scoville rating]] for the subject's heat. | ||
Revision as of 08:57, 22 July 2018
| 40px | This is a documentation subpage for Template:Infobox pepper. It contains usage information, categories and other content that is not part of the original template page. |
This template can be used to show the heat of chilies, hot sauce, or anything that calls for a rating on the Scoville scale.
Usage
Copy and paste the following:
Template:Parameter names example
{{Infobox pepper
| name =
| image =
| caption =
| alt =
| heat =
| scoville =
}}
Parameters
All attributes are optional.
name- The name of the subject. If this is omitted then it will be inferred from the page name.
image- An image of the subject. (note that this was previously used to show a "chilli rating" for the heat: this usage is deprecated, as it is covered by the
heatparameter. caption- A caption for the image.
alt- alt text for the image.
heat- How hot the subject is. This can hold any value, but there are some special cases which will automatically present the subject with a "chilli rating" image:
heat = Mildorheat = mild: in terms of chilli peppers, this would suit a Scoville rating between 0-999.heat = Loworheat = low: in terms of chilli peppers, this would suit a Scoville rating between 1,000-3,999.heat = Mediumorheat = medium: in terms of chilli peppers, this would suit a Scoville rating between 4,000-9,999.heat = Hotorheat = hot: in terms of chilli peppers, this would suit a Scoville rating between 9,999-49,999.heat = Very Hotorheat = very hot: in terms of chilli peppers, this would suit a Scoville rating between 50,000-250,000.heat = Exceptionally Hotorheat = exceptionally hotin terms of chilli peppers, this would suit a Scoville rating of 250,000+.
scoville- freeform field for giving an approximate Scoville rating for the subject's heat.
Template Data
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 pepper
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Embed | embed | no description | Unknown | optional |
| Name | name | no description | Unknown | optional |
| Image | image | no description | Unknown | optional |
| Image_size | image_size | no description | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Caption | caption | no description | Unknown | optional |
| Heat | heat | no description | Unknown | optional |
| Scoville | scoville | no description | Unknown | optional |