Jump to content

Template:Drink/doc

From Wikivoyage

Usage

[edit]
{{drink
 | name    = | alt = | url = | email = 
 | address = | lat = | long = | directions = 
 | phone   = | tollfree = | fax = 
 | hours   = | price = 
 | lastedit=
 | content = 
}}

Parameters

[edit]
  • name: the name of the bar, café, or whatever. Required.
  • alt: an alternative name, either in the local language or just an alternative. Optional.
  • address: a street address for finding the bar, for places where this is meaningful. Recommended.
  • directions: additional brief directions besides the street address, such as cross streets, nearby subway or bus stations. Optional
  • phone: a phone number for making reservations or getting more information. Recommended.
  • tollfree: a toll-free phone number, if available. Optional.
  • email: an email address for making reservations or getting more information. Optional.
  • fax: a fax number. Optional.
  • url: the URL for the official Web site for this bar (see external links for more guidelines). Recommended.
  • hours: opening hours of the bar, when applicable. Recommended.
  • price: price of a drink, or price of admission. Recommended.
  • lat: Decimal latitude (GPS coordinates) for map output. Optional.
  • long: Decimal longitude (GPS coordinates) for map output. Optional
    • Note: lat and long should have the same number of decimal places (using trailing zeroes if applicable). If one is present, so should the other be.
  • lastedit: Field indicating when the listing was last updated, or when the information in the listing was last verified. Format must be "2015-01-15" (yyyy-mm-dd). Optional

Example

[edit]
* {{drink
| name=Groucho's | alt= | url= | email=
| address=8355 S Pulaski Ave | lat= | long= | directions=
| phone=+1 773 767-4838 | tollfree= | fax=
| hours=M-F 2PM-4AM, Sa noon-5AM, Su noon-4AM; Kitchen open until 3AM | price=Admission: $5, entrees: $5-11
| lastedit=2015-01-15
| content=A decent South Side rock club featuring better-known local and regional acts. As an added bonus, the kitchen serves bar food all night.
}}
  • Groucho's, 8355 S Pulaski Ave, +1 773 767-4838. M-F 2PM-4AM, Sa noon-5AM, Su noon-4AM; Kitchen open until 3AM. A decent South Side rock club featuring better-known local and regional acts. As an added bonus, the kitchen serves bar food all night. Admission: $5, entrees: $5-11.

See also

[edit]

TemplateData

[edit]

Describe where you can have a drink

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the bar, café, or whatever.

Stringrequired
Alternative namealt

An alternative name, either in the local language or just an alternative.

Stringsuggested
Web siteurl

The URL for the official Web site for this bar (see external links for more guidelines).

URLsuggested
Emailemail

An email address for making reservations or getting more information.

Stringsuggested
Addressaddress

A street address for finding the bar, for places where this is meaningful.

Stringsuggested
Latitudelat

Decimal latitude (GPS coordinates) for map output. Note: lat and long should have the same number of decimal places (using trailing zeroes if applicable). If one is present, so should the other be.

Example
32.1234
Numbersuggested
Longitudelong

Decimal longitude (GPS coordinates) for map output. Note: lat and long should have the same number of decimal places (using trailing zeroes if applicable). If one is present, so should the other be.

Example
-96.4321
Numbersuggested
Directionsdirections

Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations.

Stringsuggested
Phonephone

A phone number for making reservations or getting more information.

Stringsuggested
Tollfreetollfree

A toll-free phone number, if available.

Stringoptional
Faxfax

A fax number.

Stringoptional
Hourshours

Opening hours of the place, when applicable.

Stringsuggested
Priceprice

Average price of a drink, or price of admission.

Stringsuggested
Last Editlastedit

Field indicating when the listing was last updated, or when the information in the listing was last verified. Format must be "2015-01-15" (yyyy-mm-dd).

Example
2016-05-17
Auto value
{{subst:#time:Y-m-d}}
Datesuggested
Contentcontent

Description of the place

Contentsuggested