Template:Infobox beverage/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox beverage (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

Contents

[edit] Usage

Copy and paste the infobox below into the desired article and fill in the answers after the equals (=) sign.
Note: some of the values are optional, see above.

<!-- Infobox begins -->
{{Infobox Beverage
|name         = 
|bgcolor      =
|image        = 
|type         = 
|abv          = 
|proof        = 
|manufacturer = 
|distributor  = 
|origin       = 
|introduced   = 
|discontinued = 
|colour       = 
|flavour      = 
|variants     = 
|related      = 
}}
<!-- Infobox ends -->

[edit] Attributes

  • name - This comes to the top of the box.
  • bgcolor - The background color of the beverage name.
  • image - If there's not an image available, leave the field empty.
  • type - Examples include diet soda, liqueur, ice tea and soft drink.
  • abv (optional) - Alcohol by volume, f.e. 17.0% (everywhere else).
  • proof (optional) - Proof for alcoholic beverages (US only).
  • manufacturer - The main manufacturer.
  • distributor (optional) - 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 (optional) - The possible year (or the date) when the beverage was discontinued.
  • colour (optional) - The colour(s) of the beverage.
  • flavour (optional) - The dominating flavour of the beverage, whether this is a hybrid or a straight flavor.
  • variants (optional) – For any variants of the same product; a diet version, or a stronger tasting version for example.
  • related (optional) - Related products in the same category, such as other diet sodas or other liqueurs in the same tier.

[edit] Example

This example is taken from the Bombay Sapphire article.

<!-- Infobox begins -->
{{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]]
}}

[edit] See also