Jump to content

Template:Do/doc

From Wikivoyage

Usage

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

Parameters

[edit]
  • name: the name of the museum, activity, attraction, or whatever. Required.
  • alt: an alternative name, either in the local language or just an alternative. Optional.
  • address: a street address for finding the attraction, 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 attraction, when applicable. Recommended.
  • price: 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]
* {{do
| name=Marquette Park Golf Course | alt= | url=http://cpdgolf.com | email=
| address=6734 S Kedzie Ave | lat= | long= | directions=
| phone=+1 312 747-2761 | tollfree= | fax=
| hours=Sunrise-sunset daily | price=Weekdays: $16, Weekends: $18
| lastedit=2015-01-15
| content=The hidden gem that is Marquette's public golf course is considered one of Chicago's most beautiful. You will feel miles away from the city. Nine holes, 3,187 yards.
}}
  • Marquette Park Golf Course, 6734 S Kedzie Ave, +1 312 747-2761. Sunrise-sunset daily. The hidden gem that is Marquette's public golf course is considered one of Chicago's most beautiful. You will feel miles away from the city. Nine holes, 3,187 yards. Weekdays: $16, Weekends: $18.

See also

[edit]

TemplateData

[edit]

Listing template for things to do

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the museum, activity, attraction, or other thing to do

Example
Marquette Park Golf Course
Stringsuggested
Altalt

An alternative name, former name, or name in the local language

Example
Grand Central Terminal
Stringsuggested
URLurl

The URL for the official website for this attraction

Example
https://www.example.com
URLsuggested
Emailemail

An email address for making reservations or getting more information

Example
hello@example.com
Stringsuggested
Addressaddress

Street address, if relevant

Example
6734 S Kedzie Ave
Stringsuggested
Latitudelat

Decimal latitude (GPS coordinates) for map output. Specify NA to disallow fetching the value from wikidata or when coordinates are not applicable

Example
41.7695
Numbersuggested
Longitudelong

Decimal longitude (GPS coordinates) for map output. Specify NA to disallow fetching the value from wikidata or when coordinates are not applicable

Example
-87.7032
Numbersuggested
Directionsdirections

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

Example
The entrance is five minutes north of the bus station.
Stringsuggested
Telephone numberphone

For making reservations or getting information

Example
+1 312 747-2761
Stringsuggested
Toll-free telephone numbertollfree

Toll-free phone number, if available

Example
+1 800 555-1234
Stringsuggested
Fax numberfax

Fax number

Example
+1 312 555-1234
Stringoptional
Hourshours

The opening and closing hours of the attraction, when applicable.

Example
Sunrise–sunset daily
Stringsuggested
Priceprice

Price of admission

Example
Weekdays: $16, Weekends: $18
Stringsuggested
Last updatelastedit

The date when the listing was last updated, or when the information in the listing was last verified.

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

A description of the attraction

Example
The hidden gem that is Marquette's public golf course is considered one of Chicago's most beautiful. You will feel miles away from the city. Nine holes, 3,187 yards.
Contentsuggested