Template:GeoPolygon
From Wikimedia Commons, the free media repository
| Geocoded outline |
Google Maps OpenStreetMap
|
|---|
[edit]
DocumentationProvide infobox with a link to outline of the object in Google Maps or OpenStreetMap.
The template automatically sets the following categories: Media with geocoded areas
Contents |
Usage
{{GeoPolygon|poly=|OSM=|title=}}
Parameters
| Parameter name | Description | Default value | required or optional? |
|---|---|---|---|
| poly | Polygon coordinates in lat1,lon1,height1 lat2,lon2,height2 lat3,lon3,height3 format. For example: 51.2121,9.2131,0 52.332,9.323,0 | empty | optional |
| OSM | Link to OpenStreetMap objects. For example 58975404 will lead to www.openstreetmap.org/?way=58975404 | empty | optional |
| title | Name to display | empty | optional |
| type | OSM links point to "way" objects by default but could also point to "relation" or "node" | way | optional |
Additional information
The template is intended to be used in the following namespaces: all content namespaces
The template is intended to be used by the following user groups: all users
Example
| Geocoded outline |
Google Maps OpenStreetMap
Cemetery Père-Lachaise
|
|---|