Jump to content

Template:Coordinates

From Wikinews, the free news source you can write!


Outputs decimal coordinates with a Geo microformat and a link to GeoTemplate for map links, as on Wikipedia.

Always give a name parameter where possible; that will cause the template to also generate an hCard microformat.

Name parameters may be linked.

Examples:

{{coordinates|52.483|-1.894}}

gives:

Map and coordinates: 52.483,-1.894

and

{{coordinates|52.483|-1.894|Birmingham}}

gives:

Map and coordinates of Birmingham: 52.483,-1.894

and

{{coordinates|52.483|-1.894|[[w:Birmingham|]]}}

gives:

Map and coordinates of Birmingham: 52.483,-1.894