模板:座标一览
This template generates external links to services that use all the WGS84 coordinates from a single Wikipedia article or all the title coordinates from articles in a single Wikipedia category. It is intended for use in the External links section of articles, or inside a section with a list or table of features, if appropriate (e.g. see Tame Valley Canal).
See Wikipedia:WikiProject Geographical coordinates for information on adding coordinates to articles. The linked services allow the following reuse methods:
- Coordinates from the Wikipedia page or category in a KML file suitable for use in Google Earth, NASA World Wind and similar applications.
- Microformatted coordinates from the Wikipedia page in a GeoRSS file.
- Link to Google Maps with the waypoints plotted onto a map. (Google caches data and may at times show a previous revision instead of the latest one. In this case wait a moment before refreshing.)
- Link to Bing with the waypoints plotted onto a map.
When not using title coordinates, inline coordinates can be given a name using community approved coordinate templates with the 'name' parameter, such as:
- {{coord|1|2|type:landmark|name=Interesting uncharted point in the sea}}
Conversion of any other annotation method is purely coincidental and may be discontinued at any time.
This template is not intended to be used on articles with single sets of coordinates; such coordinates already link directly to Template:GeoTemplate.
To use this template, add {{GeoGroupTemplate}} to the External links section of an article. There are no template parameters to enter.
Linking[编辑]
Links may be made directly to a page's instance of the template, with the ID GeoGroupTemplate, by using [[#GeoGroupTemplate|Example Link Text]], which produces: Example Link Text.
Expansion[编辑]
Other KML aware services may be added, as they become available; as might services converting the coordinates to GPX or other formats.
Example[编辑]
| Point | Coordinates (links to map & photo sources) |
|---|---|
| Dudley Port Junction | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Groveland Bridge (Titpon Road, A457) | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Tividale Aqueduct (Old BCN Main Line) | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Northern tunnel portal | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Aston Road air vent | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Regent Road air vent | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Approx. tunnel mid-point | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Southern tunnel portal | Lua错误:callParserFunction: function "#coordinates" was not found。 |
| Windmill End Junction | Lua错误:callParserFunction: function "#coordinates" was not found。 |
Bookmarklet[编辑]
To added the template to categories, you may want to use the bookmarklet below. Sample edit: [1]
javascript:with(document.forms[0]){void(wpSummary.value+='+{{[[Template:GeoGroupTemplate|GeoGroupTemplate]]}}%20(see%20also%20[[Wikipedia:WikiProject_Geographical_coordinates|WP:GEO]]');void(wpTextbox1.value='{{GeoGroupTemplate}}'+wpTextbox1.value);void(wpSave.click())}