Template:Coord: Difference between revisions

Jump to navigation Jump to search
imported>Quarl
(«+"|ERROR in {{coor}} invocation"»)
imported>PineApple1298
m (1 revision imported)
 
(55 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#if:{{{4|}}}||y}}
<includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude>
  |{{coor dec|{{{1}}}|{{{2}}}|{{{3|}}}}}
{{Documentation}}
  |{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
    |{{coor dec
</noinclude>
        |1={{coor dms2dec|{{{4}}}|{{{1}}}|{{{2}}}|{{{3}}}}}
        |2={{coor dms2dec|{{{8}}}|{{{5}}}|{{{6}}}|{{{7}}}}}
      }}
  |{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}}
    |{{coor dec
        |1={{coor dms2dec|{{{3}}}|{{{1}}}|{{{2}}}}}
        |2={{coor dms2dec|{{{6}}}|{{{4}}}|{{{5}}}}}
      }}
  |{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}}
    |{{coor dec
        |1={{coor dms2dec|{{{2}}}|{{{1}}}}}
        |2={{coor dms2dec|{{{4}}}|{{{3}}}}}
      }}
  |ERROR in &#123;{coor}&#125; invocation
  }} }} }} }}</includeonly><noinclude>{{template doc}}</noinclude>

Latest revision as of 21:06, 27 January 2021