Template:Coord/prec dec/doc: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
|||
(No difference)
|
Latest revision as of 18:28, 27 May 2021
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
This is a documentation subpage for Template:Coord/prec dec. It contains usage information, categories and other content that is not part of the original template page. |
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
This template uses Lua: |
This template, {{Coord/prec dec}}, returns "d", "dm", or "dms" to indicate the most appropriate display format for a latitude-longitude pair expressed in decimal degrees.
Usage
{{Coord/prec dec|lat|long}}
Examples
{{Coord/prec dec|99|1}} |
d |
{{Coord/prec dec|99|1.2}} |
dm |
{{Coord/prec dec|99|1.23}} |
dm |
{{Coord/prec dec|99|1.234}} |
dms |
{{Coord/prec dec|99|1.2345}} |
dms |
{{Coord/prec dec|99|1.23456}} |
dms |
{{Coord/prec dec|99|1.0}} |
dm |
{{Coord/prec dec|99|1.00}} |
dm |
{{Coord/prec dec|99|1.000}} |
dms |
{{Coord/prec dec|99|1.0000}} |
dms |
{{Coord/prec dec|99|1.00000}} |
dms |