Template:Wy/ml/സ്ഥാനം
| {{#geoLink: [http://ml.wikivoyage.org/w/index.php?title=Special%3AMapsources¶ms=
$1_$2_scale:10000 $3 $4] | long=0 | minusLat=S|plusLong=E|minusLong=W|precision=4}} |
The {{Wy/ml/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:Wy/ml/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:
{{Wy/ml/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, a zoom level of 13-15 may be ideal, while regions will probably need zoom levels of 10-12 depending on their area. If no zoom level is specified, the current default level is 13. For example, Montreal contains the code:
{{Wy/ml/Geo|45.5|-73.6|zoom=13}}
Note that only one instance in a page makes sense. Use {{wy/ml/Marker}} for coordinates for features mentioned on the page in inline prose.
- Geo microformat <span class="geo"> and MediaWiki API coordinates parser
#coordinates:are included in this template.
Housekeeping
[edit source]The template controls the content of the following maintenance categories:
- Category:Wy/ml/Has Geo parameter
- Category:Wy/ml/Articles needing Geo parameter
- Category:Wy/ml/Articles needing the Geo zoom defined
- Category:Wy/ml/Articles with no Wikidata coords
- Category:Wy/ml/Articles Geo different to Wikidata
Places 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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Latitude | 1 | Decimal latitude (GPS coordinates) for map output
| Number | required |
| Longitude | 2 | Decimal longitude (GPS coordinates) for map output.
| Number | required |
| Zoom | zoom | Zoom level as per Openstreetmap zoom levels. Higher is more zoomed in. Default is 13. | Number | suggested |
| Layer | layer | no description | Unknown | optional |