Template:Coord/link
[https:Lua error in Module:Coordinates at line 1: attempt to index global 'coordinates' (a nil value).{{{param}}} {{{dms-lat}}} {{{dms-long}}} / Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{".]
This template, {{Coord/link}}, is used by {{Coord}}.
Examples
| {{coord|10|N|30|W}} | Lua error in Module:Coordinates at line 1: attempt to index global 'coordinates' (a nil value). |
| {{coord|10|11|N|30|31|W}} | Lua error in Module:Coordinates at line 1: attempt to index global 'coordinates' (a nil value). |
| {{coord|10|11|12|N|30|31|32|W}} | Lua error in Module:Coordinates at line 1: attempt to index global 'coordinates' (a nil value). |
Notes on classes
Note: the span classes "geo-default", "geo-dec", and "geo-dms" are defined at http://en.wikipedia.org/wiki/MediaWiki:Common.css.
In addition, "geo" and the nested "latitude" and "longitude" have special meaning as a Geo microformat and so might also be used by other templates; see also http://microformats.org/wiki/geo.
Display
To always display coordinates as DMS values, add this to your common.css:
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: none }
.geo-dms { display: inline }
To always display coordinates as decimal values, add this to your common.css:
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: none }
To display coordinates in both formats, add this to your common.css:
.geo-default { display: inline }
.geo-nondefault { display: inline }
.geo-dec { display: inline }
.geo-dms { display: inline }
.geo-multi-punct { display: inline }
If CSS is disabled, or you have an old copy of MediaWiki:Common.css cached, you will see both formats. (You can either clear your cache or manually refresh this URL: [1].)
To disable display of the blue globe adjacent to coordinates, add this to your common.js:
var wma_settings = {enabled:false}
Note that this will disable WikiMiniAtlas.
See also: Wikipedia:Manual of Style/Dates and numbers § Geographical coordinates.
ar:قالب:Coord/link as:Template:Coord/link bn:টেমপ্লেট:Coord/link ca:Plantilla:Coord/link cy:Nodyn:Coord/link hy:Կաղապար:Coord/link ja:Template:Coord/link no:Mal:Koord/lenke pl:Szablon:Koordynaty/Linkuj pt:Predefinição:Coord/link sl:Predloga:Koord/povezava