Bản mẫu:Thông tin thức uống

Bách khoa toàn thư mở Wikipedia
Bước tới: menu, tìm kiếm
Thông tin thức uống
Hình tượng tài liệu Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm tươi]

Usage[sửa | sửa mã nguồn]

Copy and paste the infobox below into the desired article and fill in the answers after the equals (=) sign.

{{ infobox beverage
| name         = 
| image        = 
| type         = 
| abv          = 
| proof        = 
| manufacturer = 
| distributor  = 
| origin       = 
| introduced   = 
| discontinued = 
| colour       = 
| flavour      = 
| variants     = 
| related      = 
| website      =
}}

Parameters[sửa | sửa mã nguồn]

All attributes are optional.

  • name - This comes to the top of the box.
  • image - If there's not an image available, leave the field empty.
  • caption - Leave empty for no image caption.
  • type - Examples include diet soda, liqueur, ice tea and soft drink.
  • abv - Alcohol by volume, f.e. 17.0% (everywhere else).
  • proof - Proof for alcoholic beverages (US only).
  • style - Beer style.
  • og - Original gravity.
  • fg - Final gravity.
  • ibu - International Bitterness Units scale.
  • manufacturer - The main manufacturer.
  • distributor - If the distributor is not also the manufacturer.
  • origin - Country of first introduction or origin.
  • introduced - The year (or the date) when the beverage was introduced.
  • discontinued - The possible year (or the date) when the beverage was discontinued.
  • colour / color - The colour(s) of the beverage.
  • flavour / flavor - The dominating flavour of the beverage, whether this is a hybrid or a straight flavor.
  • variants - For any variants of the same product* a diet version, or a stronger tasting version for example.
  • related - Related products in the same category, such as other diet sodas or other liqueurs in the same tier.
  • website - For a link to the official website of the beverage.

Example[sửa | sửa mã nguồn]

This example is taken from the Bombay Sapphire article.

Bombay Sapphire
Bombay-sapphire.jpg
Phân loại Gin
Độ cồn trên thể tích 47.0%
Minh chứng 94
Hãng sản xuất Bombay Spirits Co., Ltd.
Hãng phân phối Bacardi
Quốc gia xuất xứ Hamilton, Bermuda
Ra mắt 1987
Màu sắc Clear
Sản phẩm liên quan Bombay Original Dry
Website bombaysapphire.com
{{Infobox beverage
|name         = Bombay Sapphire
|image        = [[Image:Bombay-sapphire.jpg|80px]]
|type         = [[Gin]]
|abv          = 47.0%
|proof        = 94
|manufacturer = Bombay Spirits Co., Ltd.
|distributor  = [[Bacardi]]
|origin       = [[Hamilton, Bermuda]]
|introduced   = 1987
|discontinued = 
|colour       = Clear
|flavour      = 
|variants     = 
|related      = [[Bombay Original Dry]]
|website      = [http://www.bombaysapphire.com/ bombaysapphire.com]
}}


Microformats[sửa | sửa mã nguồn]

Product[sửa | sửa mã nguồn]

Bản mẫu:UF-hprod

Recipe[sửa | sửa mã nguồn]

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:

  • fn
  • ingredient
  • instructions
  • [more, tba]

Please do not rename or remove these classes.


See also[sửa | sửa mã nguồn]