සැකිල්ල:Infobox beverage/ලේඛය
Appearance
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. |
Usage
[සංස්කරණය]Copy and paste the infobox below into the desired article and fill in the answers after the equals (=) sign.
{{Infobox beverage | name = | image = | caption = | type = | abv = | proof = | manufacturer = | distributor = | origin = | introduced = | discontinued = | colour = | flavour = | ingredients = | variants = | related = | website = }}
Parameters
[සංස්කරණය]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.
- 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.
Example
[සංස්කරණය]This example is taken from the Bombay Sapphire article.
Type | Gin |
---|---|
Manufacturer | Bombay Spirits Co., Ltd. |
Distributor | Bacardi |
Country of origin | Hamilton, Bermuda |
Introduced | 1987 |
Alcohol by volume | 47.0% |
Proof | 94 |
Colour | Clear |
Related products | 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 = {{URL|www.bombaysapphire.com}} }}
Microformats
[සංස්කරණය]Product
[සංස්කරණය]The HTML mark up produced by this template includes an hProduct microformat, which makes the product's details parsable by computers, either acting automatically to index articles across Wikipedia for search engines, or via a browser tool operated by a person. For more information about the use of microformats on Wikipedia, please see the microformat project.
If the product has a URL, use {{Url}}.
hProduct uses HTML classes including:
- brand
- category
- description
- fn
- hproduct
- identifier
- listing
- photo
- price
- review
- type
- url
- url
- value
Please do not rename or remove these classes; nor collapse nested elements which use them.
Recipe
[සංස්කරණය]
See also
[සංස්කරණය]