Μετάβαση στο περιεχόμενο

Πρότυπο:Geo/τεκμηρίωση

Από Βικιταξίδια

The {{geo}} template is intended to place a logo at the upper-right corner of destination articles which, when clicked, opens a full screen dynamic map centred on the latitude and longitude that is specified. Documentation to use this template is on Wikivoyage:Geocoding.

The easiest way to add lat/long information to a destination guide article is to use the Geo template. To do so, add the following code to a page:

{{Geo|lat|long|zoom=zoom}}

Here, lat is the latitude, long is the longitude and zoom is the level of zoom on a dynamic map. Both coordinates must be in decimal form ("45.5", not "45 30 00") with West and South prefixed by a negative sign. For cities, zoom level of 13-14 may be ideal, while regions will probably need zoom levels of 10-12 depending on their area. For example, Montreal contains the code:

{{Geo|45.5|-73.6|zoom=13}}

Note that only one instance in a page makes sense. Use {{marker}} for inline coordinates for features mentioned on the page.