Template:Geoloc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
48° 51′ 24″ N, 2° 21′ 06″ E Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Geoloc/doc.

Creates a geo-location, with or without a field name

Usage

{{Geoloc |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1longitude value, decimal or DMSemptyrequired
2latitude value, decimal or DMSemptyrequired
3either n: no field name, or c/cam/camera / o/obj/object / {{{3}}} locationobjectoptional
4attributes, e.g. elevation:127_heading:WNW_dim:160emptyoptional
5an ISO language codeenoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Placement:

e.g. within the Information box, as an "other field"

Localization

This template is not intended to be localized.

Examples

{{Geoloc|43°46′49.9″N|5°24′55.9″E|n|heading:S}}

43° 46′ 49.9″ N, 5° 24′ 55.9″ E  Heading=180° Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo

{{Geoloc|43 46 42.1 N|5 25 02.9 E|-|dim:160_heading:WNW}}

43° 46′ 42.1″ N, 5° 25′ 02.9″ E  Heading=292.5° Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo

{{Geoloc|43.778709|05.4112709|n|heading:ENE}}

43° 46′ 43.35″ N, 5° 24′ 40.58″ E  Heading=67.5° Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo

{{Geoloc|43°46′46.2″N|05.4177725}} (renders without table tags; for use inside {{Artwork}} or similar)

Object location
InfoField
43° 46′ 46.2″ N, 5° 25′ 03.98″ E Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo