跳转到内容

Template:Infobox food

被永久保护的模板
维基百科,自由的百科全书
(重定向自Template:Infobox tea
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]
{{{name}}}
[[File:{{{image}}}|frameless]]
{{{caption}}}
别称{{{alternate_name}}}
类型{{{type}}}
上菜顺序{{{course}}}
起源地{{{country}}}
地区{{{region}}}
发明者{{{creator}}} or {{{creators}}}
始创时间{{{year}}}
烹调时间
上菜温度{{{served}}}
主要成分{{{main_ingredient}}}
常用成分{{{minor_ingredient}}}
菜品变种{{{variations}}}
{{{calories}}} 千卡
营养成分表
(每100 )
蛋白质{{{protein}}} 
脂肪{{{fat}}} 
碳水化合物{{{carbohydrate}}} 
类似菜餚{{{similar_dish}}}
相关的国家菜系{{{national_cuisine}}}
备注{{{other}}}

用法

{{Infobox food
| name = 
| image = 
| caption = 
| alternate_name = 
| country = 
| region = 
| national_cuisine = 
| creator =           <!-- or | creators = -->
| year = 
| mintime = 
| maxtime = 
| type = 
| course = 
| served = 
| main_ingredient = 
| minor_ingredient = 
| variations = 
| serving_size = 100 g
| calories = 
| protein = 
| fat = 
| carbohydrate = 
| glycemic_index = 
| similar_dish = 
| other = 
}}

參數

Copy and paste the infobox above into the desired article and fill in the values after the equals (=) sign. All fields are optional. For questions or examples, please see the discussion page.

Parameter Description
name 名稱。此參數顯現於信息框頂端,若忽略不填,將自動顯示以條目標題。
name_lang ISO 639 語言代碼,如果“名稱”不是英語。
name_italics 填写“true”则会使名称显示为斜体(通常没有必要)。
image 圖片。如果沒有適用的圖片,略過此欄。不要在前面加上File:Image:,不然會出現黑色的多於括弧[[]]
caption 圖片說明。若無則保留空白。
image_size 可選的自定義圖片大小,例如 240px
alternate_name 食物別稱。食物的其他名稱。
country 起源國家。即食物的發源國家。
region 起源地。食物發源的特定區域。
national_cuisine 某家菜菜系。即食物属于哪个国家或哪个地方的菜系。(如:“日本料理”、“美国菜”等)
creator creators 首創者。食物的發明人。
year 菜色被發明的那一年。
mintime (time1) 烹飪所需的最短時間。
maxtime (time2) 烹飪所需的最長時間。
type 比如“点心”、“海鲜”、“素菜”等等。
course 上菜順序。即開胃菜 / 前菜、主菜、甜點等。
served 上菜溫度。食物招待時的溫度。
main_ingredient 主要成分。食物的主要食材。 食材较多时可以考虑使用{{Plainlist}}模板。
minor_ingredient 次要成分
variations 菜品变种。食物的变种。
serving_size 上菜分量。通常上菜的分量,比如500克。
calories 熱量。每分食物大約含有的熱量。單位以每份千卡做計算。
calories_ref 每份食物热量的参考来源出处。
protein 蛋白质。每分食物大约含有的蛋白质。如需要填入更多營養標籤資料,請使用訊息框{{营养值}}。
fat 脂肪。每分食物大约含有的脂肪。
carbohydrate 碳水化合物。每分食物大约含有的糖/碳水。
glycemic_index 升糖指数。即GI
similar_dish 类似的食物/菜肴。
other 其他資訊
no_recipes Set |no_recipes=true to suppress the addition of recipe search links.
no_commons Set |no_commons=true to suppress the addition of Commons search links.

模板兼容

对原T:Infobox cheese模板的兼容

卡芒贝尔奶酪条目为例。

Infobox food
金銀幣
起源地法国
奶源牛奶
成熟期1-2個月
辛辣味溫和到中等
风味軟質
{{Infobox cheese
|cheese_name                       = 卡芒贝尔奶酪<br>{{lang|en|Camembert}}
 |image                             = [[File:Camembert (Cheese).jpg|center|225px| ]]
 |caption                           = 金銀幣
 |country                           = 法国
 |milk                              = 牛奶
 |style                             = 軟質
 |aoc                               = 
 |fat_rate                          = 45-50%
 |production                        = 1-2個月
 |taste                             = 溫和到中等
 |cust_label_1                      = 
 |cust_data_1                       = 
 |cust_label_1                      =  
 |cust_data_1                       = 
}}

对原T:Infobox Beverage模板的兼容

龐貝藍鑽特級琴酒条目为例。

龐貝藍鑽特級琴酒
Bombay Sapphire
类型琴酒
起源地英國
制造商Bombay Spirits Co., Ltd.
分销商百加得集團
始创时间1987年
酒精度40%(英國、加拿大、澳洲)
47%(美國、出口)
标准酒度80(英國、加拿大、澳洲)
94(美國、出口)
颜色無色
相关产品Bombay Original Dry
网站bombaysapphire.com
{{Infobox Beverage
| name         = 龐貝藍鑽特級琴酒<br />Bombay Sapphire
| image        = [[Image:Bombay-sapphire.jpg|80px]]
| type         = [[琴酒]]
| abv          = 40%(英國、加拿大、澳洲)<br>47%(美國、出口)
| proof        = 80(英國、加拿大、澳洲)<br>94(美國、出口)
| manufacturer = Bombay Spirits Co., Ltd.
| distributor  = [[百加得]]集團
| origin       = [[英國]]
| introduced   = 1987年
| discontinued =
| colour       = 無色
| flavour      =
| variants     =
| related      = Bombay Original Dry
| website      = [http://www.bombaysapphire.com/ bombaysapphire.com]
}}

对原T:Infobox Bottled Water模板的兼容

依雲条目为例。

依雲
Evian
类型無氣泡
国家 法國
水源地埃維昂萊班
特征性指标
(mg/l)
钙(Ca)78
氯化物(Cl2.2
碳酸氢盐(HCO3357
镁(Mg)23
硝酸盐(NO33.8
钾(K)0.75
钠(Na)5.5
硫化物(SO)10
PH值7.18
网站http://www.evian.com
{{Infobox Bottled Water
|brand = 依雲<br />Evian
|country = {{FRA}}
|source = 埃維昂萊班
|type = 無氣泡
|ph = 7.18
|ca = 78
|mg = 23
|si =
|cl = 2.2
|c2 = 357
|ni = 3.8
|k = 0.75
|na = 5.5
|s = 10
|tds = 
|website = http://www.evian.com
|img_logo = <!-- 合理使用文件:Logo_Evian.jpg -->
}}

对原T:Infobox Tea模板的兼容

铁观音条目为例。

鐵觀音
别称紅心歪尾桃
类型青茶
原产地中國
备注中國十大名茶之一
{{Infobox_Tea |
  Tea_name                 = 鐵觀音 |  
  Tea_type                 = [[青茶]] |
  Tea_color                = Black |
  Tea_image                = [[File:Tieguanyin2.jpg|300px]] |
  Tea_origin               = [[中國]] | 
  Tea_names                = 紅心歪尾桃 |
  Tea_quick                = [[中國十大名茶]]之一
}}

微格式

已隱藏部分未翻譯内容,歡迎參與翻譯

Adr

The HTML mark up produced by this template includes an ADR microformat, which makes postal addresses (or their component parts, such as regions, postal codes or country-names) parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

ADR uses HTML classes including:

  • adr
  • country-name
  • extended-address
  • locality
  • postal-code
  • region
  • street-address

Please do not rename or remove these classes.

Recipe

The HTML mark up produced by this template includes an hRecipe microformat, which makes food recipes and individual foods parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person. For more information about the use of microformats on Wikipedia, please see the microformat project.

hRecipe uses HTML classes including:

  • author
  • duration
  • fn
  • ingredient
  • instructions
  • nutrition
  • published
  • tag
  • type
  • yield

Please do not rename or remove these classes.

參見