Template:Go/doc
This is a documentation subpage for Template:Go. It contains usage information, categories and other content that is not part of the original template page. |
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.
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
editListing template for transportation-related places (e.g. terminals, stations, stops) or operators of transportation services
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the transportation terminal, station, stop, etc and/or transportation operator
| String | suggested |
Alt | alt | An alternative name, former name, or name in the local language
| String | suggested |
URL | url | The URL for the official website for the transportation location or transportation operator
| URL | suggested |
email | An email address for making reservations or getting more information
| String | suggested | |
Address | address | Street address, if relevant
| String | suggested |
Latitude | lat | Decimal latitude (GPS coordinates) for map output. Specify NA to disallow fetching the value from wikidata or when coordinates are not applicable
| Number | suggested |
Longitude | long | Decimal longitude (GPS coordinates) for map output. Specify NA to disallow fetching the value from wikidata or when coordinates are not applicable
| Number | suggested |
Directions | directions | Additional brief directions besides the street address, such as cross streets, nearby subway or bus stations.
| String | suggested |
Telephone number | phone | For making reservations or getting information
| String | suggested |
Toll-free telephone number | tollfree | Toll-free phone number, if available
| String | suggested |
Fax number | fax | Fax number
| String | optional |
Hours | hours | The opening and closing hours of the transportation facility, or the first and last departures of a route, when applicable.
| String | suggested |
Price | price | Price to take transportation
| String | suggested |
Last update | lastedit | The date when the listing was last updated, or when the information in the listing was last verified.
| Date | suggested |
Content | content | A description of transportation facility or the transportation operator
| Content | suggested |
Wikipedia | wikipedia | Wikipedia page associated with transportation facility or transportation operator
| String | suggested |
Wikidata | wikidata | Wikidata QID associated with transportation facility or transportation operator
| String | suggested |
Image | image | A photo of the transport infrastructure or transportation operator logo | File | optional |