Jump to content

Template:Coord/dec2dms: Difference between revisions

From IdeaWazaWiki
wikademia>Quarl
«78 words changed» factor to Template:Coor dec2dms1 to reduce pre-expand size
wikademia>Wikademia
m 20 revisions
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{Coor dec2dms1|{{#ifexpr:{{{1}}} >= 0||-}}{{{1}}}|{{{4}}}}} {{#ifexpr:{{{1}}} >= 0|{{{2}}}|{{{3}}}}}</includeonly><noinclude><!--
<includeonly>{{Coord/dec2dms/{{{4}}}|{{#ifexpr:{{{1}}} >= 0||-}}{{{1}}}}}{{#ifexpr:{{{1}}} >= 0|{{{2}}}|{{{3}}}}}</includeonly><noinclude>{{pp-template|small=yes}}{{template doc}}[[Category:Coord template]]</noinclude>
 
The "mod 360" is necessary to truncate degrees.  "round 0" is different because it rounds rather than truncates.
 
-->{{template doc}}</noinclude>

Latest revision as of 11:28, 21 March 2009