แม่แบบ:กล่องข้อมูล เครื่องดื่ม/doc

จากวิกิพีเดีย สารานุกรมเสรี

การใช้งาน[แก้]

คัดลอกและวางกล่องข้อมูลด้านล่างลงในบทความที่ต้องการแล้วกรอกคำตอบหลังเครื่องหมายเท่ากับ (=)

{{กล่องข้อมูล เครื่องดื่ม
| name         = 
| image        = 
| image_alt    =
| caption      = 
| type         = 
| abv          = 
| proof        = 
| manufacturer = 
| distributor  = 
| origin       = 
| introduced   = 
| discontinued = 
| colour       = 
| flavour      = 
| ingredients  = 
| variants     = 
| related      = 
| website      =
| region       =
}}

พารามิเตอร์[แก้]

คุณสมบัติทั้งหมดเป็นทางเลือก

  • name - This comes to the top of the box.
  • image - If there's not an image available, leave the field empty.
  • image_alt - If an image is used, add alt text
  • 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.
  • origin_label - Use this to change "Country of origin" to something else when "country" doesn't apply
  • region - Region 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.
  • ingredients - a list of the major ingredients of the beverage.
  • variants - For any variants of the same product, such as a diet version, or a stronger tasting version.
  • 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.
  • region - Region within a country of first introduction or origin.

ตัวอย่าง[แก้]

ตัวอย่างนี้นำมาจากบทความ Bombay Sapphire

Bombay Sapphire
ประเภทยิน
อุตสาหกรรมการผลิตBombay Spirits Co., Ltd.
ผู้จัดจำหน่ายBacardi
ประเทศต้นกำเนิดประเทศอังกฤษ
เปิดตัว1986
แอลกอฮอล์โดยปริมาตร40% (สหราชอาณาจักร, แคนาดา, ออสเตรเลีย)
47% (สหรัฐฯและส่งออก)
Proof (US)80 (สหราชอาณาจักร, แคนาดา, ออสเตรเลีย)
94 (สหรัฐฯและส่งออก)
สีใส
สินค้าที่เกี่ยวข้องBombay Original Dry
เว็บไซต์bombaysapphire.com
{{กล่องข้อมูล เครื่องดื่ม
| name         = Bombay Sapphire
| image        =
| image_size   = 
| type         = [[ยิน]]
| abv          = 40% (สหราชอาณาจักร, แคนาดา, ออสเตรเลีย)<br />47% (สหรัฐฯและส่งออก)
| proof        = 80 (สหราชอาณาจักร, แคนาดา, ออสเตรเลีย)<br />94 (สหรัฐฯและส่งออก)
| manufacturer = Bombay Spirits Co., Ltd.
| distributor  = [[Bacardi]]
| origin       = ประเทศอังกฤษ
| introduced   = 1986
| discontinued =
| colour       = ใส
| flavour      =
| variants     =
| related      = Bombay Original Dry
| website      = [http://www.bombaysapphire.com/ bombaysapphire.com]
}}

Microformats[แก้]

Product[แก้]

แม่แบบ:UF-hprod

Recipe[แก้]

The HTML mark-up produced by this template includes an hRecipe microformat that makes food recipes and information about individual foods readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes of this microformat include:

  • author
  • duration
  • fn
  • ingredient
  • instructions
  • nutrition
  • published
  • tag
  • type
  • yield
Please do not rename or remove these classes.

ดูเพิ่ม[แก้]