Template:Coord: Difference between revisions

Jump to navigation Jump to search
imported>Quarl
(dms-lat, dms-long)
imported>PineApple1298
m (1 revision imported)
 
(50 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#if:{{{4|}}}||y}}
<includeonly>{{#invoke:Coordinates|coord}}</includeonly><noinclude>
  |{{coor dec
{{Documentation}}
      |1={{{1}}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
      |2={{{2}}}
</noinclude>
      |3={{{3|}}}|type={{{type|}}}|scale={{{scale|}}}|region={{{region|}}}|globe={{{globe|}}}|source={{{source|}}}
      }}
  |{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}}
    |{{coor dec
      |1={{coor dms2dec|{{{4}}}|{{{1}}}|{{{2}}}|{{{3}}}}}
      |2={{coor dms2dec|{{{8}}}|{{{5}}}|{{{6}}}|{{{7}}}}}
      |3={{{9|}}}|type={{{type|}}}|scale={{{scale|}}}|region={{{region|}}}|globe={{{globe|}}}|source={{{source|}}}
      |dms-lat={{{1}}}°{{{2}}}′{{{3}}}″{{{4}}}
      |dms-long={{{5}}}°{{{6}}}′{{{7}}}″{{{8}}}
      }}
  |{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}}
    |{{coor dec
      |1={{coor dms2dec|{{{3}}}|{{{1}}}|{{{2}}}}}
      |2={{coor dms2dec|{{{6}}}|{{{4}}}|{{{5}}}}}
      |3={{{7|}}}|type={{{type|}}}|scale={{{scale|}}}|region={{{region|}}}|globe={{{globe|}}}|source={{{source|}}}
      |dms-lat={{{1}}}°{{{2}}}′{{{3}}}
      |dms-long={{{4}}}°{{{5}}}′{{{6}}}
      }}
  |{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}}
    |{{coor dec
      |1={{coor dms2dec|{{{2}}}|{{{1}}}}}
      |2={{coor dms2dec|{{{4}}}|{{{3}}}}}
      |3={{{5|}}}|type={{{type|}}}|scale={{{scale|}}}|region={{{region|}}}|globe={{{globe|}}}|source={{{source|}}}
      |dms-lat={{{1}}}°{{{2}}}
      |dms-long={{{4}}}°{{{5}}}
      }}
  |ERROR in &#123;{coor}&#125; invocation
  }} }} }} }}</includeonly><noinclude>{{template doc}}</noinclude>

Latest revision as of 21:06, 27 January 2021