Bản mẫu:Infobox pepper
This template can be used to show the heat of chilies, hot sauce, or anything that calls for a rating on the độ cay của ớt.
Cách sử dụng sửa
Copy and paste the following:
{{{name}}} | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|{{{alt}}}]] {{{caption}}} | |
Sức cay | {{{heat}}} |
Độ cay của ớt | {{{scoville}}} SHU |
{{Infobox pepper | name = | image = | caption = | alt = | heat = | scoville = }}
Tham số sửa
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 = Cay rất nhẹ
orheat = Cay rất nhẹ
: in terms of chilli peppers, this would suit a Scoville rating between 0-999.heat = Cay nhẹ
orheat = Cay nhẹ
: in terms of chilli peppers, this would suit a Scoville rating between 1,000-3,999.heat = Cay vừa
orheat = Cay vừa
: in terms of chilli peppers, this would suit a Scoville rating between 4,000-9,999.heat = Cay
orheat = Cay
: in terms of chilli peppers, this would suit a Scoville rating between 9,999-49,999.heat = Rất cay
orheat = Rất cay
: in terms of chilli peppers, this would suit a Scoville rating between 50,000-250,000.heat = Cực kỳ cay
orheat = Cực kỳ cay
in terms of chilli peppers, this would suit a Scoville rating of 250,000+.
scoville
- freeform field for giving an approximate Thang Scoville for the subject's heat.
Dữ liệu bản mẫu sửa
Đây là tài liệu Dữ liệu bản mẫu cho bản mẫu này được sử dụng bởi Trình soạn thảo trực quan và các công cụ khác; xem báo cáo sử dụng tham số hàng tháng cho bản mẫu này.
Dữ liệu bản mẫu cho Infobox pepper
Không có miêu tả.
Tham số | Miêu tả | Kiểu | Trạng thái | |
---|---|---|---|---|
embed | embed | không có miêu tả | Không rõ | tùy chọn |
name | name | không có miêu tả | Không rõ | tùy chọn |
image | image | không có miêu tả | Không rõ | tùy chọn |
image_size | image_size | không có miêu tả | Không rõ | tùy chọn |
alt | alt | không có miêu tả | Không rõ | tùy chọn |
caption | caption | không có miêu tả | Không rõ | tùy chọn |
heat | heat | không có miêu tả | Không rõ | tùy chọn |
scoville | scoville | không có miêu tả | Không rõ | tùy chọn |