Difference between revisions of "Template:Infobox/Location/Coordinate"
From Kerbal Space Program Wiki
< Template:Infobox | Location
(Created page with "{{#if: {{{1|}}}|{{#expr: abs({{{1}}}) round 0}}° {{#expr: abs({{{1}}}) * 60 mod 60 round 0}}′ {{#expr: abs({{{1}}}) * 60 * 60 mod 60 round 0}}″ {{#ifexpr:...") |
(!trunc instead of round;) |
||
Line 1: | Line 1: | ||
− | {{#if: {{{1|}}}|{{#expr: abs({{{1}}}) | + | {{#if: {{{1|}}}|{{#expr: trunc abs({{{1}}})}}° {{#expr: trunc(abs({{{1}}}) * 60 mod 60)}}′ {{#expr: abs({{{1}}}) * 60 * 60 mod 60 round 0}}″ {{#ifexpr: {{{1}}} < 0|{{{3}}}|{{{2}}}}}|Unknown° {{{2}}}}} |
Revision as of 16:17, 19 August 2013
Unknown° {{{2}}}