Template:Coord/link

From RouteWiki
Jump to: navigation, search

{{{dms-lat}}} {{{dms-long}}} / {{#if:||}}{{#ifexpr:{{{dec-lat}}}<0|{{#ifexpr:{{{dec-lat}}}<0|{{#switch:_{{{dec-lat}}}|_-{{#expr:abs{{{dec-lat}}}}}={{#expr:abs{{{dec-lat}}}}}|_-{{#expr:abs{{{dec-lat}}}}}0={{#expr:abs{{{dec-lat}}}}}0|_-{{#expr:abs{{{dec-lat}}}}}.0={{#expr:abs{{{dec-lat}}}}}.0|_-{{#expr:abs{{{dec-lat}}}}}00={{#expr:abs{{{dec-lat}}}}}00|_-{{#expr:abs{{{dec-lat}}}}}.00={{#expr:abs{{{dec-lat}}}}}.00|_-{{#expr:abs{{{dec-lat}}}}}000={{#expr:abs{{{dec-lat}}}}}000|_-{{#expr:abs{{{dec-lat}}}}}.000={{#expr:abs{{{dec-lat}}}}}.000|_-{{#expr:abs{{{dec-lat}}}}}0000={{#expr:abs{{{dec-lat}}}}}0000|_-{{#expr:abs{{{dec-lat}}}}}.0000={{#expr:abs{{{dec-lat}}}}}.0000|_-{{#expr:abs{{{dec-lat}}}}}00000={{#expr:abs{{{dec-lat}}}}}00000|_-{{#expr:abs{{{dec-lat}}}}}.00000={{#expr:abs{{{dec-lat}}}}}.00000|{{#expr:abs{{{dec-lat}}}}}}}|{{{dec-lat}}}}}°S|{{{dec-lat}}}°N}} {{#ifexpr:{{{dec-long}}}<0|{{#ifexpr:{{{dec-long}}}<0|{{#switch:_{{{dec-long}}}|_-{{#expr:abs{{{dec-long}}}}}={{#expr:abs{{{dec-long}}}}}|_-{{#expr:abs{{{dec-long}}}}}0={{#expr:abs{{{dec-long}}}}}0|_-{{#expr:abs{{{dec-long}}}}}.0={{#expr:abs{{{dec-long}}}}}.0|_-{{#expr:abs{{{dec-long}}}}}00={{#expr:abs{{{dec-long}}}}}00|_-{{#expr:abs{{{dec-long}}}}}.00={{#expr:abs{{{dec-long}}}}}.00|_-{{#expr:abs{{{dec-long}}}}}000={{#expr:abs{{{dec-long}}}}}000|_-{{#expr:abs{{{dec-long}}}}}.000={{#expr:abs{{{dec-long}}}}}.000|_-{{#expr:abs{{{dec-long}}}}}0000={{#expr:abs{{{dec-long}}}}}0000|_-{{#expr:abs{{{dec-long}}}}}.0000={{#expr:abs{{{dec-long}}}}}.0000|_-{{#expr:abs{{{dec-long}}}}}00000={{#expr:abs{{{dec-long}}}}}00000|_-{{#expr:abs{{{dec-long}}}}}.00000={{#expr:abs{{{dec-long}}}}}.00000|{{#expr:abs{{{dec-long}}}}}}}|{{{dec-long}}}}}°W|{{{dec-long}}}°E}} / {{{dec-lat}}}; {{{dec-long}}}{{#if:| ()|}} Template:Documentation