Difference between revisions of "Template:LocFormat"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>{{LocFormat
 
<pre>{{LocFormat
 
|coordinates
 
|coordinates
|format=dd}}</pre>
+
|format=dd
 +
|directional=no}}</pre>
 
{{LocFormat|43° 16' 28.74" N, 2° 1' 16.69" W }}
 
{{LocFormat|43° 16' 28.74" N, 2° 1' 16.69" W }}
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>
<includeonly>{{#coordinates:{{{1}}}|format={{{format|dd}}}|directional=no}}</includeonly>
+
<includeonly>{{#coordinates:{{{1}}}|format={{{format|dd}}}|directional=yes}}</includeonly>

Latest revision as of 23:14, 27 November 2024

Template to format coordinates in decimal degrees without directional indicators.

Usage

{{LocFormat
|coordinates
|format=dd
|directional=no}}

43.274650° N, 2.021303° W