Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 TemplateData  





3 See also  














Template:CoordDMS/doc







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Template:CoordDMS

A version of the {{Coord}} template where degrees, minutes and seconds are specified.

Usage

[edit]

To add 57°18′22N 4°27′32W / 57.30611°N 4.45889°W / 57.30611; -4.45889 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

Optional 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

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:CoordDMS in articles based on its TemplateData.

TemplateData for CoordDMS

Encodes the latitude and longitude coordinates of a location as degrees, minutes and seconds. Displays the coordinates and provides a link to map of the location.

Template parameters

ParameterDescriptionTypeStatus
Latitude degrees1

The degrees part of the latitude, a positive whole number.

Numberrequired
Latitude minutes2

The minutes part of the latitude. Do not be overly precise, 1' is approximately 1.5 km.

Numberrequired
Latitude seconds3

The seconds part of the latitude. Do not be overly precise, 1" is approximately 30 m.

Numberrequired
Latitude direction4

Direction part of latitude: N or S.

Stringrequired
Longitude degrees5

The degrees part of the longitude, a positive whole number.

Numberrequired
Longitude minutes6

The minutes part of the longitude. Do not be overly precise 1' is approximately 1.5 km.

Numberrequired
Longitude seconds7

The seconds part of the longitude. Do not be overly precise 1" is approximately 30 m.

Numberrequired
Longitude direction8

Direction part of longitude: E or W.

Stringrequired
Displaydisplay

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

Stringoptional
Namename

a label to place on maps (default is PAGENAME)

Stringoptional
Notesnotes

text displayed immediately following the coordinates

Stringoptional
Formatformat

How the coordinates are displayed, either 'dec' or 'dms'

Stringoptional
Dimdim

approximate size of the object, used to scale the map to fit.

Stringoptional
Scalescale

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.

Stringoptional
Globeglobe

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

Stringoptional
Regionregion

[[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.

Stringoptional
Typetype

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.

Stringoptional

See also

[edit]



Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:CoordDMS/doc&oldid=1210398895"

Hidden categories: 
Template documentation pages
Pages using gadget WikiMiniAtlas
 



This page was last edited on 26 February 2024, at 12:18 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki