模板:Infobox pepper
![本页使用了标题或全文手工转换](http://images.weserv.nl/?url=//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png)
参考资料
该模板可用于显示辣椒、热酱或任何要求在史高维尔指标的评分。
用法
复制并粘貼以下内容:
{{{name}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|{{{alt}}}]] {{{caption}}} | |
辣度 | {{{heat}}} |
斯科维尔指标 | {{{scoville}}} |
{{Infobox pepper | name = | image = | caption = | alt = | heat = | scoville = }}
参数
所有属性皆可选。
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
or heat = mild
: in terms of chilli peppers, this would suit a Scoville rating between 0-999.heat = Low
or heat = low
: in terms of chilli peppers, this would suit a Scoville rating between 1,000-3,999.heat = Medium
or heat = medium
: in terms of chilli peppers, this would suit a Scoville rating between 4,000-9,999.heat = Hot
or heat = hot
: in terms of chilli peppers, this would suit a Scoville rating between 9,999-49,999.heat = Very Hot
or heat = very hot
: in terms of chilli peppers, this would suit a Scoville rating between 50,000-250,000.heat = Exceptionally Hot
or heat = exceptionally hot
in 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:Infobox pepper/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |