Edge Rewrite
Jump to content

Template:Infobox drink/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

{{{title}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]
{{{caption}}}
Type{{{type}}}
Other name{{{alternate_name}}}
Manufacturer{{{manufacturer}}}
Distributor{{{distributor}}}
{{{origin_label}}}{{{origin}}}, {{{region}}}
Introduced{{{introduced}}}
Discontinued{{{discontinued}}}
Alcohol by volume{{{abv}}}
Proof (US){{{proof}}}
Color{{{colour}}}
Flavor{{{flavour}}}
Style{{{style}}}
Original gravity{{{og}}}
Final gravity{{{fg}}}
IBU scale{{{ibu}}}
Ingredients{{{ingredients}}}
Base spirit{{{base}}}
Variants{{{variants}}}
Related products{{{related}}}
Website{{{homepage}}}
Standard drinkware{{{drinkware}}}
Standard garnish{{{garnish}}}
Served{{{served}}}
Preparation{{{prep}}}
{{{module}}}
{{{footnotes}}}
{{Infobox drink
| name           = 
| image          = 
| image_size     = 
| image_alt      = 
| caption        = 
| type           = 
| alternate_name = 
| abv            = 
| proof          = 
| manufacturer   = 
| distributor    = 
| origin         = 
| region         = 
| introduced     = 
| discontinued   = 
| colour         = 
| flavour        = 
| ingredients    = 
| base           = 
| variants       = 
| related        = 
| drinkware      = 
| garnish        = 
| served         = 
| prep           = 
| website        = <!-- {{URL| www.example.com }} -->
| footnotes      = 
| module         = <!-- other arbitrary modules can be embedded here -->
}}

Parameters

[edit]

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.
  • image_size – width in pixels
  • image_alt – If an image is used, add alt text
  • caption – Leave empty for no image caption.
  • alternate_name – Any alternate name(s).
  • type – Examples include diet soda, liqueur, ice tea and soft drink.
  • abvAlcohol by volume, f.e. 17.0% (everywhere else).
  • proofProof 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.
  • drinkware - The standard drinkware in which the drink is served.
  • garnish - How the drink is traditionally garnished
  • served - How the drink is traditionally served
  • prep - How the drink is traditionally prepared
  • website – For a link to the official website of the beverage. Use {{URL}}.
  • module – Any other arbitrary modules to be embedded in this infobox.
  • footnotes – Any additional footnotes to display at the bottom of the infobox

Example

[edit]

This example is taken from the Bombay Sapphire article.

Bombay Sapphire
TypeGin
ManufacturerBombay Spirits Co., Ltd.
DistributorBacardi
OriginEngland
Introduced1986
Alcohol by volume40% (UK, Canada, Australia)
47% (US and export)
Proof (US)80 (UK, Canada, Australia)
94 (US and export)
ColourClear
Related productsBombay Original Dry
Websitewww.bombaysapphire.com
{{Infobox drink
| name         = Bombay Sapphire
| image        = 
| image_size   = 80px
| type         = [[Gin]]
| abv          = 40% (UK, Canada, Australia)<br />47% (US and export)
| proof        = 80 (UK, Canada, Australia)<br />94 (US and export)
| manufacturer = Bombay Spirits Co., Ltd.
| distributor  = [[Bacardi]]
| origin       = England
| introduced   = 1986
| discontinued = 
| colour       = Clear
| flavour      = 
| variants     = 
| related      = Bombay Original Dry
| website      = {{UEL|http://www.bombaysapphire.com/}}
}}

Maintenance categories

[edit]

Template data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox drink in articles based on its TemplateData.

TemplateData for Infobox drink

General purpose drink infobox

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
titletitle

no description

Unknownoptional
namename

no description

Unknownoptional
logologo

no description

Unknownoptional
logo_sizelogo_size

no description

Unknownoptional
logo_altlogo_alt

no description

Unknownoptional
logo_captionlogo_caption

no description

Unknownoptional
imageimage

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
captioncaption

no description

Unknownoptional
typetype

no description

Unknownoptional
alternate_namealternate_name

no description

Unknownoptional
manufacturermanufacturer

no description

Unknownoptional
brewerybrewery

no description

Unknownoptional
distributordistributor

no description

Unknownoptional
origin_labelorigin_label

no description

Unknownoptional
originorigin

no description

Unknownoptional
regionregion

no description

Unknownoptional
introducedintroduced

no description

Unknownoptional
yearyear

no description

Unknownoptional
discontinueddiscontinued

no description

Unknownoptional
last_yearlast_year

no description

Unknownoptional
abvabv

Alcohol by volume (abbreviated as alc/vol or ABV)

Unknownoptional
proofproof

Alcohol proof – a measure of the content of ethanol (alcohol) in an alcoholic beverage

Unknownoptional
colorcolor

no description

Unknownoptional
colourcolour

no description

Unknownoptional
Carbonationcarbonation

Is the drink carbonated?

Suggested values
Yes No Varies
Stringoptional
Caffeinationcaffeination

Does the drink contain any caffeine?

Suggested values
Yes No Varies
Stringoptional
flavorflavor

The dominating flavour of the beverage, whether this is a hybrid or a straight flavor

Unknownoptional
flavourflavour

no description

Unknownoptional
stylestyle

no description

Unknownoptional
ogog

Original gravity

Unknownoptional
fgfg

Final gravity

Unknownoptional
ibuibu

International Bitterness Units scale

Unknownoptional
ingredientsingredients

no description

Unknownoptional
variantsvariants

no description

Unknownoptional
relatedrelated

no description

Unknownoptional
Official websitewebsite homepage

Link to the official website of the beverage. Use {{URL}}.

Example
{{URL|http://www.bombaysapphire.com/}}
Unknownoptional
basebase

no description

Unknownoptional
drinkwaredrinkware

no description

Unknownoptional
garnishgarnish

no description

Unknownoptional
servedserved

no description

Unknownoptional
prepprep

no description

Unknownoptional
modulemodule

no description

Unknownoptional
footnotesfootnotes

no description

Unknownoptional

Microformats

[edit]

Product

[edit]

The HTML mark-up produced by this template includes an hProduct microformat that makes a product's details 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.

If the product has a URL, use {{URL}} to include it.

Classes used

The HTML classes of this microformat include:

  • brand
  • category
  • description
  • fn
  • hproduct
  • identifier
  • listing
  • photo
  • price
  • review
  • type
  • url
  • value
Please do not rename or remove these classes
nor collapse nested elements which use them.

Recipe

[edit]

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.

Tracking categories

[edit]

See also

[edit]