Loading AI tools
From Wikipedia, the free encyclopedia
This template uses Lua: |
A version of the {{Coord}} template where degrees, minutes and seconds are specified.
To add 57°18′22″N 4°27′32″W to the top of an article, use {{CoordDMS}}, thus:
{{CoordDMS|57|18|22|N|4|27|32|W|display=title}}
No alternate set of parameter are available for this template. See {{CoordDec}} for angles specified as signed decimal degrees, and {{CoordDM}} for when just degrees and minutes are specified.
These coordinates are in degrees, minutes, and seconds of arc.
Optional parameters are all named parameters in the form name=value
|display=inline
(the default) to display in the body of the article only,|display=title
to display at the top of the article only, or|display=inline,title
to display in both places.|name=X
to label the place on maps (default is PAGENAME)|notes=
text displayed immediately following the coordinates,|format=dec
decimal format|format=dms
degrees minutes and seconds formatOptional geodata coordinates parameters, the old geohack format with colon and underscore is not supported
Thus: {{CoordDMS|57|18|22|N|4|27|42|W| dim=30 | region=US-WI | type=event | display=inline,title | name=accident site}}
Use |display=title
(or |display=inline,title
) once per article, for the subject of the article, where appropriate.
TemplateData for CoordDMS
Parameter | Description | Type | Status | |
---|---|---|---|---|
Latitude degrees | 1 | The degrees part of the latitude, a positive whole number. | Number | required |
Latitude minutes | 2 | The minutes part of the latitude. Do not be overly precise, 1' is approximately 1.5 km. | Number | required |
Latitude seconds | 3 | The seconds part of the latitude. Do not be overly precise, 1" is approximately 30 m. | Number | required |
Latitude direction | 4 | Direction part of latitude: N or S. | String | required |
Longitude degrees | 5 | The degrees part of the longitude, a positive whole number. | Number | required |
Longitude minutes | 6 | The minutes part of the longitude. Do not be overly precise 1' is approximately 1.5 km. | Number | required |
Longitude seconds | 7 | The seconds part of the longitude. Do not be overly precise 1" is approximately 30 m. | Number | required |
Longitude direction | 8 | Direction part of longitude: E or W. | String | required |
Display | display | Where it is displayed. Can be one of: 'inline' in the body of the article (default), 'title' at the top of the article or 'inline,title' both | String | optional |
Name | name | a label to place on maps (default is PAGENAME) | String | optional |
Notes | notes | text displayed immediately following the coordinates | String | optional |
Format | format | How the coordinates are displayed, either 'dec' or 'dms' | String | optional |
Dim | dim | approximate size of the object, used to scale the map to fit. | String | optional |
Scale | scale | Scale of map display for this object, e.g. scale of 300 is 1:300. Gets converted into ''dim'' internally using formula ''dim = scale / 10''. If both scale and dim are set, dim has precedence. | String | optional |
Globe | globe | earth by default, can be one of earth, mercury, venus, moon, mars, phobos, deimos, ganymede, callisto, io, europa, mimas, enceladus, tethys, dione, rhea, titan, hyperion, iapetus, phoebe, miranda, ariel, umbriel, titania, oberon, triton and pluto | String | optional |
Region | region | [[ISO 3166-1 alpha-2]] country code (e.g. ''US'' or ''RU'') or an [[ISO 3166-2]] region code (e.g. ''US-FL'' or ''RU-MOS''). This parameter is always capitalised internally. | String | optional |
Type | type | type of object with these coordinates, can be one of the following: country, satellite, state, adm1st, adm2nd, adm3rd, city, isle, mountain, river, waterbody, event, forest, glacier, airport, railwaystation, edu, pass, camera, landmark. | String | optional |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.