Template:Coord/dec2dms: Difference between revisions
Appearance
wikademia>Quarl m moved Template:Coor/preccard to Template:Coor dec2dms |
wikademia>Quarl «78 words changed» factor to Template:Coor dec2dms1 to reduce pre-expand size |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifexpr:{{{1}}} >= 0 | <includeonly>{{Coor dec2dms1|{{#ifexpr:{{{1}}} >= 0||-}}{{{1}}}|{{{4}}}}} {{#ifexpr:{{{1}}} >= 0|{{{2}}}|{{{3}}}}}</includeonly><noinclude><!-- | ||
The "mod 360" is necessary to truncate degrees. "round 0" is different because it rounds rather than truncates. | The "mod 360" is necessary to truncate degrees. "round 0" is different because it rounds rather than truncates. | ||
-->{{template doc}}</noinclude> | -->{{template doc}}</noinclude> | ||