Difference between revisions of "Template:Coord/dec2dms/dms1"

From blackwiki
Jump to navigation Jump to search
imported>MZMcBride
m (Unprotected Template:Coord/dec2dms/dms1: this is a wiki)
imported>קיפודנחש
(includeonly + minidoc.)
Line 1: Line 1:
{{#expr:{{{1}}} mod 360}}°{{padleft:{{#expr:{{{1}}} * 60 mod 60}}|2|0}}′{{padleft:{{#expr:({{{1}}} * 36000 round 0) mod 600 / 10}}|2|0}}″<noinclude>[[Category:Coord template]]</noinclude>
+
<includeonly>{{#expr:{{{1}}} mod 360}}°{{padleft:{{#expr:{{{1}}} * 60 mod 60}}|2|0}}′{{padleft:{{#expr:({{{1}}} * 36000 round 0) mod 600 / 10}}|2|0}}″</includeonly><noinclude>
 +
 
 +
This is a helper template for [[Template:Coord]], converting longitude or latitude in decimal notation to a Degrees/Minutes/Seconds display.
 +
 
 +
[[Category:Coord template]]
 +
 
 +
</noinclude>

Revision as of 15:26, 13 November 2012


This is a helper template for Template:Coord, converting longitude or latitude in decimal notation to a Degrees/Minutes/Seconds display.