Predloga:Infopolje Pijača
Uporablja Lua: |
Usage
[uredi kodo]Copy and paste the infobox below into the desired article and fill in the answers after the equals (=) sign.
{{Infopolje Pijača
| name =
| image =
| image_size =
| image_alt =
| caption =
| type =
| abv =
| proof =
| manufacturer =
| distributor =
| origin =
| introduced =
| discontinued =
| colour =
| flavour =
| ingredients =
| variants =
| related =
| website =
| region =
}}
Parameters
[uredi kodo]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.
- 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.
Example
[uredi kodo]This example is taken from the Bombay Sapphire article.
Tip | Gin |
---|---|
Proizvajalec | Bombay Spirits Co., Ltd. |
Distributor | Bacardi |
Država izvora | England |
Introduced | 1986 |
Alcohol by volume | 40% (UK, Canada, Australia) 47% (US and export) |
Proof (US) | 80 (UK, Canada, Australia) 94 (US and export) |
Barva | Clear |
Sorodni produkti | Bombay Original Dry |
Spletna stran | bombaysapphire.com |
{{Infopolje Pijača
| 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 = [http://www.bombaysapphire.com/ bombaysapphire.com]
}}
Template data
[uredi kodo]TemplateData za Infopolje Pijača
Ni opisa.
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
title | title | brez opisa | Neznano | neobvezno |
name | name | brez opisa | Neznano | neobvezno |
logo | logo | brez opisa | Neznano | neobvezno |
logo_size | logo_size | brez opisa | Neznano | neobvezno |
logo_alt | logo_alt | brez opisa | Neznano | neobvezno |
image | image | brez opisa | Neznano | neobvezno |
image_size | image_size | brez opisa | Neznano | neobvezno |
image_alt | image_alt | brez opisa | Neznano | neobvezno |
caption | caption | brez opisa | Neznano | neobvezno |
type | type | brez opisa | Neznano | neobvezno |
manufacturer | manufacturer | brez opisa | Neznano | neobvezno |
brewery | brewery | brez opisa | Neznano | neobvezno |
distributor | distributor | brez opisa | Neznano | neobvezno |
origin_label | origin_label | brez opisa | Neznano | neobvezno |
origin | origin | brez opisa | Neznano | neobvezno |
region | region | brez opisa | Neznano | neobvezno |
introduced | introduced | brez opisa | Neznano | neobvezno |
year | year | brez opisa | Neznano | neobvezno |
discontinued | discontinued | brez opisa | Neznano | neobvezno |
last_year | last_year | brez opisa | Neznano | neobvezno |
abv | abv | brez opisa | Neznano | neobvezno |
proof | proof | brez opisa | Neznano | neobvezno |
color | color | brez opisa | Neznano | neobvezno |
colour | colour | brez opisa | Neznano | neobvezno |
flavor | flavor | brez opisa | Neznano | neobvezno |
flavour | flavour | brez opisa | Neznano | neobvezno |
style | style | brez opisa | Neznano | neobvezno |
og | og | brez opisa | Neznano | neobvezno |
fg | fg | brez opisa | Neznano | neobvezno |
ibu | ibu | brez opisa | Neznano | neobvezno |
ingredients | ingredients | brez opisa | Neznano | neobvezno |
variants | variants | brez opisa | Neznano | neobvezno |
related | related | brez opisa | Neznano | neobvezno |
homepage | homepage | brez opisa | Neznano | neobvezno |
website | website | brez opisa | Neznano | neobvezno |
Microformats
[uredi kodo]Product
[uredi kodo]Koda HTML, ki jo producira ta predloga, vključuje mikroformat hProduct, ki omogoča računalnikom, da razčlenijo podatke o izdelku. Ta proces je bodisi samodejen, za katalogiziranje člankov v Wikipediji, bodisi na ročno zahtevo bralca s pomočjo orodja v brskalnikur.
hProduct uporablja naslednje razrede HTML:uses HTML classes including:
- brand
- category
- description
- fn
- hproduct
- identifier
- listing
- photo
- price
- review
- type
- url
- value
Prosimo, ne preimenujte ali odstranite teh razredov.
Recipe
[uredi kodo]- Uporabljeni razredi
HTML-razredi tega mikroformata vključujejo:
- author
- duration
- fn
- ingredient
- instructions
- nutrition
- published
- tag
- type
- yield