Template:Infobox pepper/doc: Difference between revisions
Jump to navigation
Jump to search
>Vanisaac m →Template Data: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other |
m 1 revision imported |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
{{Parameter names example|_template=|name|image|alt|caption|heat|scoville}} | {{Parameter names example|_template=|name|image|alt|caption|heat|scoville}} | ||
< | <syntaxhighlight lang="wikitext" style="overflow: auto;"> | ||
{{Infobox pepper | {{Infobox pepper | ||
| name = | | name = | ||
Line 17: | Line 17: | ||
| scoville = | | scoville = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
Line 33: | Line 33: | ||
<li><code>heat = Medium</code> or <code>heat = medium</code>: in terms of chilli peppers, this would suit a Scoville rating between 4,000-9,999.</li> | <li><code>heat = Medium</code> or <code>heat = medium</code>: in terms of chilli peppers, this would suit a Scoville rating between 4,000-9,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 = 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- | <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-599,999.</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 | <li><code>heat = Exceptionally Hot</code> or <code>heat = exceptionally hot</code> in terms of chilli peppers, this would suit a Scoville rating of 600,000+.</li> | ||
</ul> | </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. |
Latest revision as of 18:25, 29 June 2023
This is a documentation subpage for Template:Infobox pepper. It may contain 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:
{{{name}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}]] | |
Heat | {{{heat}}} |
Scoville scale | {{{scoville}}} SHU |
{{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
heat
parameter. 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 = Mild
orheat = mild
: in terms of chilli peppers, this would suit a Scoville rating between 0-999.heat = Low
orheat = low
: in terms of chilli peppers, this would suit a Scoville rating between 1,000-3,999.heat = Medium
orheat = medium
: in terms of chilli peppers, this would suit a Scoville rating between 4,000-9,999.heat = Hot
orheat = hot
: in terms of chilli peppers, this would suit a Scoville rating between 9,999-49,999.heat = Very Hot
orheat = very hot
: in terms of chilli peppers, this would suit a Scoville rating between 50,000-599,999.heat = Exceptionally Hot
orheat = exceptionally hot
in terms of chilli peppers, this would suit a Scoville rating of 600,000+.
scoville
- freeform field for giving an approximate Scoville rating for the subject's heat.
Template Data
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox pepper in articles based on its TemplateData.
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 |