Template:Coord: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Quarl
34
Ookami (talk | contribs)
m 56 revisions imported
 
(47 intermediate revisions by 20 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={{{3}}}°{{{4}}}
      }}
  |ERROR in &#123;{coor}&#125; invocation
  }} }} }} }}</includeonly><noinclude>{{template doc}}</noinclude>

Latest revision as of 01:07, 3 September 2020