Template:Infobox winery/doc

From IxWiki
Revision as of 16:44, 25 April 2020 by >Vanisaac (→‎Microformat: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is for wineries. If it is not appropriate please use Template:Infobox company.

Usage

{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]
{{{image_caption}}}
Location{{{location_place}}}, {{{location_city}}}, {{{location_state}}}, {{{location_country}}} {{{location}}}
Coordinates{{{coordinates}}}
Wine region{{{wine_region}}}
Appellation
  • {{{appellation}}}
  • {{{appellation2}}}
Formerly{{{former_name}}}
Other labels{{{other_labels}}}
Founded{{{year_founded}}}
First vines planted{{{first_vines}}}
First vintage{{{first_vintage}}}
Opened to the public{{{year_public_opening}}}
Key people{{{key_people}}}
Parent company{{{parent_company}}}
Acres cultivated{{{acres_cultivated}}}
Cases/yr{{{cases_per_year}}}
Known for{{{signature_wine}}}
Varietals{{{varietal1}}}, {{{varietal2}}}, {{{varietal3}}}, {{{varietal4}}}, {{{varietal5}}}, {{{varietal6}}}, {{{varietal7}}}, {{{varietal8}}}, {{{varietal9}}}, {{{varietal10}}}, {{{varietal11}}}, {{{varietal12}}}, {{{varietal13}}}, {{{varietal14}}}, {{{varietal15}}}, {{{varietal16}}}, {{{varietal17}}}, {{{varietal18}}}, {{{varietal19}}}, {{{varietal20}}}, {{{varietal21}}}, {{{varietal22}}}, {{{varietal23}}}, {{{varietal24}}}, {{{varietal25}}}, {{{varietal26}}}, {{{varietal27}}}, {{{varietal28}}}, {{{varietal29}}}, {{{varietal30}}}, {{{varietal31}}}, {{{varietal32}}}, {{{varietal33}}}, {{{varietal34}}}, {{{varietal35}}}
Other products{{{other_product1}}}, {{{other_product2}}}, {{{other_product3}}}, {{{other_product4}}}, {{{other_product5}}}, {{{other_product6}}}, {{{other_product7}}}, {{{other_product8}}}
Other attractions{{{other_attractions}}}
Distribution{{{distribution}}}
Tasting{{{tasting}}}
Website{{{homepage}}}

The name and location parameters are obligatory. Key people might include founders, owners, winemakers, vineyard manager. Other products is meant to include things like brandy, sparkling wine, olive oil, port -- not logo gear like tee shirts and coffee mugs, and not vanity products like mustard and salad dressing. Please verify appellation, location and varietal names so they link properly.

{{Infobox winery
| name = 
| logo = 
| logo_size =
| logo_alt = 
| logo_caption =
| image = 
| image_size = 
| image_alt = 
| image_caption = 
| location_place = 
| location_city = 
| location_state = 
| location_country = 
| coordinates = <!-- use {{coord}} -->
| wine_region = <!--e.g. Coonawarra-->
| appellation = <!-- e.g., Napa Valley -->
| former_name =
| other_labels= <!-- if the winery makes more than one label -->
| year_founded = <!-- {{Start date|YYYY}} -->
| first_vines =
| first_vintage =
| year_public_opening =  <!-- {{Opening date|YYYY}} -->
| key_people =
| parent_company =
| acres_cultivated =
| cases_per_year =
| signature_wine = <!-- e.g., Chicken Hawk Table Red -->
| varietal1 = <!-- e.g., Zinfandel -->
| varietal2 =
| varietal3 =
| varietal4 =
| varietal5 =
| varietal6 =
| varietal7 =
| varietal8 =
| varietal9 =
| varietal10 =
| varietal11 =
| varietal12 =
| varietal13 =
| varietal14 =
| varietal15 =
| varietal16 =
| varietal17 =
| varietal18 =
| varietal19 =
| varietal20 =
| varietal21 =
| varietal22 =
| varietal23 =
| varietal24 =
| varietal25 =
| varietal26 =
| varietal27 =
| varietal28 =
| varietal29 =
| varietal30 =
| varietal31 =
| varietal32 =
| varietal33 =
| varietal34 =
| varietal35 =
| other_product1 = <!--e.g., olive oil-->
| other_product2 =
| other_product3 =
| other_product4 =
| other_product5 =
| other_attractions = <!--e.g. Wetland tours-->
| distribution = <!-- e.g., national, regional, limited, restaurants, wine club only, etc. -->
| tasting= <!-- open to public, by appointment, special events, etc. -->
| website = <!-- {{URL|example.com}} -->
}}

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.