Pojdi na vsebino

Predloga:Infopolje Pijača/dok

Iz Wikipedije, proste enciklopedije

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.

Bombay Sapphire
TipGin
ProizvajalecBombay Spirits Co., Ltd.
DistributorBacardi
Država izvora England
Introduced1986
Alcohol by volume 40% (UK, Canada, Australia)
47% (US and export)
Proof (US)80 (UK, Canada, Australia)
94 (US and export)
BarvaClear
Sorodni produktiBombay Original Dry
Spletna stranbombaysapphire.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]
To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Infopolje Pijača

Ni opisa.

Parametri predloge[Urejanje podatkov predloge]

Za to predlogo je priporočljiva postavitev parametrov v bloku.

ParameterOpisVrstaStanje
titletitle

brez opisa

Neznanoneobvezno
namename

brez opisa

Neznanoneobvezno
logologo

brez opisa

Neznanoneobvezno
logo_sizelogo_size

brez opisa

Neznanoneobvezno
logo_altlogo_alt

brez opisa

Neznanoneobvezno
imageimage

brez opisa

Neznanoneobvezno
image_sizeimage_size

brez opisa

Neznanoneobvezno
image_altimage_alt

brez opisa

Neznanoneobvezno
captioncaption

brez opisa

Neznanoneobvezno
typetype

brez opisa

Neznanoneobvezno
manufacturermanufacturer

brez opisa

Neznanoneobvezno
brewerybrewery

brez opisa

Neznanoneobvezno
distributordistributor

brez opisa

Neznanoneobvezno
origin_labelorigin_label

brez opisa

Neznanoneobvezno
originorigin

brez opisa

Neznanoneobvezno
regionregion

brez opisa

Neznanoneobvezno
introducedintroduced

brez opisa

Neznanoneobvezno
yearyear

brez opisa

Neznanoneobvezno
discontinueddiscontinued

brez opisa

Neznanoneobvezno
last_yearlast_year

brez opisa

Neznanoneobvezno
abvabv

brez opisa

Neznanoneobvezno
proofproof

brez opisa

Neznanoneobvezno
colorcolor

brez opisa

Neznanoneobvezno
colourcolour

brez opisa

Neznanoneobvezno
flavorflavor

brez opisa

Neznanoneobvezno
flavourflavour

brez opisa

Neznanoneobvezno
stylestyle

brez opisa

Neznanoneobvezno
ogog

brez opisa

Neznanoneobvezno
fgfg

brez opisa

Neznanoneobvezno
ibuibu

brez opisa

Neznanoneobvezno
ingredientsingredients

brez opisa

Neznanoneobvezno
variantsvariants

brez opisa

Neznanoneobvezno
relatedrelated

brez opisa

Neznanoneobvezno
homepagehomepage

brez opisa

Neznanoneobvezno
websitewebsite

brez opisa

Neznanoneobvezno

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]

HTML-označevanje, ki ga ustvari ta predloga, vključuje hRecipe mikroformat, ki omogoča preprosto razčlenitev food recipes and information about individual foods računalniškim programom. To pomaga pri opravilih, kot sta katalogizacija člankov in vzdrževanje podatkovnih zbirk.

Uporabljeni razredi

HTML-razredi tega mikroformata vključujejo:

  • author
  • duration
  • fn
  • ingredient
  • instructions
  • nutrition
  • published
  • tag
  • type
  • yield
Prosimo, ne preimenujte in ne odstranite teh razredov.


See also

[uredi kodo]