[Edit] [ ] Template documentation
. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Template:Pinpoint is a simple template that generates a hyperlink to the OpenStreetMap website with a marker on a specific coordinate. You can use this instead of node, way and relation references to ensure the user will be directed to a correct location in the map regardless of map elements being moved or deleted in the future.
It would probably be useful for other wikis as well such as WikiTravel, WikiVoyage and Wikipedia.
The following parameters can be passed into the template:
| Parameter name
|| The latitude of the marker.
|| The longitude of the marker.
|| The zoom level to open linked to maps at. Default value is 12.
In addition, the first non-named parameter specifies the visible text of the hyperlink.
| lat = 51.5039137
| long = -0.1181693
| zoom = 15
| Jubilee Gardens
produces a hyperlink to a pin over the Jubilee Gardens that always works for the user, regardless of map edits.