Difference between revisions of "Template:LocFormat"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
|latlon=coordinates
 
|latlon=coordinates
 
|format=dd}}</pre>
 
|format=dd}}</pre>
{{LocFormat|latlon=43° 18' 4.71" N, 2° 0' 3.91" W}}
+
{{LocFormat|latlon=43° 16' 28.74" N, 2° 1' 16.69" W }}
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>
 
<includeonly>{{#coordinates:{{{latlon}}}|format={{{format|dd}}}|directional=no}}</includeonly>
 
<includeonly>{{#coordinates:{{{latlon}}}|format={{{format|dd}}}|directional=no}}</includeonly>

Revision as of 16:41, 27 November 2024

Template to format coordinates in decimal degrees without directional indicators.

Usage

{{LocFormat
|latlon=coordinates
|format=dd}}

43.274650°, -2.021303°