Template:Eat/doc

From Wikivoyage
Jump to navigation Jump to search

Usage

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

Parameters

[edit]
  • name: the name of the restaurant, 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 restaurant, 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 attraction (see external links for more guidelines). Recommended.
  • hours: opening hours of the restaurant, when applicable. Recommended.
  • price: price of an average meal, or price of a drink, etc. 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]
* {{eat
| name=Zortziko | alt= | url= | email=
| address=c/Alameda de Mazarredo 17 | lat= | long= | directions=
| phone=+1 944 23-97-43, +1 944 23-63-96 | tollfree= | fax=
| hours=Tu-Sa 9AM-11:30PM | price=
| lastedit=2015-01-15
| content=Traditional Basque dishes such as pigeon breast or marinated sea bass. Formal environment with late Victorian style furnishing, frequently booked days in advance. Ask about reservations to dine in the wine cellar.
}}
  • Zortziko, c/Alameda de Mazarredo 17, +1 944 23-97-43, +1 944 23-63-96. Tu-Sa 9AM-11:30PM. Traditional Basque dishes such as pigeon breast or marinated sea bass. Formal environment with late Victorian style furnishing, frequently booked days in advance. Ask about reservations to dine in the wine cellar.

Template Data

[edit]

Listing template for restaurants and other places to eat

Template parameters

ParameterDescriptionTypeStatus
Namename

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

Example
Senses
Stringsuggested
Alternative namealt

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

Stringsuggested
URLurl

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

Example
http://ofalltheginjoints.ma
URLsuggested
Emailemail

An email address for making reservations or getting more information.

Example
restaurant@chain.com
Stringsuggested
Addressaddress

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

Example
c/Maravillosa 26
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
52.2434
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
-4.2632
Numbersuggested
Directionsdirections

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

Example
Entrance under the bell tower
Stringsuggested
Phonephone

A phone number for making reservations or getting more information.

Example
+48 (22) 987 65 43
Stringsuggested
Toll-freetollfree

A toll-free phone number, if available.

Example
+48 601 234 567
Stringoptional
Faxfax

A fax number.

Example
+48 (22) 123 45 67
Stringoptional
Opening hourshours

Opening hours of the restaurant, when applicable.

Example
Tue-Sat 9AM-11:30PM
Stringsuggested
Priceprice

Price of an average meal, or price of a drink in case of bars.

Example
ca. 30 PLN for a decent meal with a soft drink.
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-04-15
Auto value
{{subst:#time:Y-m-d}}
Datesuggested
Contentcontent

Additional description with information on reservation, amenities, dress code and whatnot.

Example
Traditional Basque dishes such as pigeon breast or marinated sea bass. Formal environment with late Victorian style furnishing, frequently booked days in advance. Ask about reservations to dine in the wine cellar.
Contentsuggested

See also

[edit]