Template:Geo/doc

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 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:

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:

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


 * Geo microformat and MediaWiki API coordinates parser   are included in this template.

Housekeeping
The template controls the content of the following maintenance categories:
 * Category:Has Geo parameter
 * Category:Articles needing Geo parameter
 * Category:Articles needing the Geo zoom defined
 * Category:Articles with no Wikidata coords
 * Category:Articles Geo different to Wikidata

{	"params": { "1": {			"label": "Latitude", "description": "Decimal latitude (GPS coordinates) for map output", "example": "41.7695", "type": "number", "required": true },		"2": {			"label": "Longitude", "description": "Decimal longitude (GPS coordinates) for map output.", "example": "-87.7032", "type": "number", "required": true },		"zoom": { "label": "Zoom", "type": "number", "suggested": true, "description": "Zoom level as per Openstreetmap zoom levels. Higher is more zoomed in.  Default is 13." },		"layer": { "label": "Layer" }	},	"description": "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" }