跳至內容

模板:Infobox food/doc

維基百科,自由的百科全書
{{{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/doc
金銀幣
起源地法國
奶源牛奶
成熟期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.

參見[編輯]