Template:Go/doc

From Wikivoyage
Jump to navigation Jump to search

Usage[edit]

{{go
 | name    = | alt = | url = | email = 
 | address = | lat = | long = | directions = 
 | phone   = | tollfree = | fax = 
 | hours   = | price = 
 | wikipedia =
 | wikidata =
 | image =
 | lastedit =
 | content = 
}}

Parameters[edit]

  • name: the name of the station, airport, or whatever. Recommended.
  • alt: an alternative name, either in the local language or just an alternative. Optional.
  • address: a street address for finding the transport infrastructure, 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 transport infrastructure (see external links for more guidelines). Recommended.
  • hours: opening hours of the transport infrastructure, when applicable. 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.
  • wikipedia: name of Wikipedia article for this transport infrastructure
  • wikidata: Wikidata QID for this transport infrastructure
  • image: a photo of the transport infrastructure
  • 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]

  • 1 Beijing South Railway Station (北京南站, Běijīng Nánzhàn). This station is used only by high-speed trains. It offers 70 high-speed services every day to Tianjin, Tanggu, Jinan, Qingdao, Shanghai, Hangzhou and Fuzhou. There are also a few services from Beijing South to northeastern China as well as Xiamen. Served by subway Lines 4 and 14 and public buses. Beijingnan railway station (Q163962) on Wikidata Beijing South railway station on Wikipedia

Source:

* {{Go
| name=Beijing South Railway Station | alt=北京南站, Běijīng Nánzhàn | url= | email=
| address= | lat=39.863546 | long=116.372573 | directions=
| phone= | tollfree= | fax= | hours= | price=
| wikipedia=Beijing South railway station |wikidata=Q163962 |image= Southern façade of Beijing South Railway Station (20170523113230).jpg | lastedit=2018-03-17
| content=This station is used only by high-speed trains. It offers 70 high-speed services every day to [[Tianjin]], Tanggu, [[Jinan]], [[Qingdao]], [[Shanghai]], [[Hangzhou]] and [[Fuzhou]]. There are also a few services from Beijing South to northeastern China as well as Xiamen. Served by subway Lines 4 and 14 and public buses.
}}

See also[edit]


Listing template for transportation-related places (e.g. terminals, stations, stops) or operators of transportation services

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the transportation terminal, station, stop, etc and/or transportation operator

Example
"Grand Central Terminal" or "Peter Pan Bus Lines"
Stringsuggested
Altalt

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

Example
Grand Central Station
Stringsuggested
URLurl

The URL for the official website for the transportation location or transportation operator

Example
https://www.flixbus.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 on the northwest side of the intersection of Queen Ave and King St
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 transportation facility, or the first and last departures of a route, when applicable.

Example
"10:00 AM - 17:00 AM" or "First daily departure: 06:00 AM; Last daily departure: 11:30 PM"
Stringsuggested
Priceprice

Price to take transportation

Example
"$15" or "$15 to Chicago"
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 transportation facility or the transportation operator

Example
"The main train terminal in New York City" or "A bus operator with routes between the Port Authority Bus terminal in New York City and Atlanta, Boston, and Pittsburg"
Contentsuggested
Wikipediawikipedia

Wikipedia page associated with transportation facility or transportation operator

Example
Charles de Gaulle Airport
Stringsuggested
Wikidata wikidata

Wikidata QID associated with transportation facility or transportation operator

Example
Q123456
Stringsuggested
Imageimage

A photo of the transport infrastructure or transportation operator logo

Fileoptional