Template:Coord: Difference between revisions

From ScoutWiki, For Everyone, Everywhere involved with Scouting and Guiding...
Jump to navigation Jump to search
(«+"|ERROR in {{coor}} invocation"»)
m (1 revision: upload from wikipedia)
 
(26 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#if:{{{4|}}}||y}}
<includeonly>{{Coord/display/{{{display|inline}}}
  |{{coor dec|{{{1}}}|{{{2}}}|{{{3|}}}}}
|1={{Coord/input/{{#ifeq:{{{1|}}}||nolat|{{#ifeq:{{{4|}}}{{{5|}}}{{{6|}}}||dec|{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}}|dms|{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}}|dm|{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}}|d|ERROR}}}}}}}}}}
  |{{#if:{{#switch:{{{4}}}{{{8}}}|NE|NW|SE|SW=y}}
|1={{{1|}}}
    |{{coor dec
|2={{{2|}}}
        |1={{coor dms2dec|{{{4}}}|{{{1}}}|{{{2}}}|{{{3}}}}}
|3={{{3|}}}
        |2={{coor dms2dec|{{{8}}}|{{{5}}}|{{{6}}}|{{{7}}}}}
|4={{{4|}}}
      }}
|5={{{5|}}}
  |{{#if:{{#switch:{{{3}}}{{{6}}}|NE|NW|SE|SW=y}}
|6={{{6|}}}
    |{{coor dec
|7={{{7|}}}
        |1={{coor dms2dec|{{{3}}}|{{{1}}}|{{{2}}}}}
|8={{{8|}}}
        |2={{coor dms2dec|{{{6}}}|{{{4}}}|{{{5}}}}}
|9={{{9|}}}
      }}
|10={{{10|}}}
  |{{#if:{{#switch:{{{2}}}{{{4}}}|NE|NW|SE|SW=y}}
|format={{{format|}}}
    |{{coor dec
|name={{{name|}}}
        |1={{coor dms2dec|{{{2}}}|{{{1}}}}}
}}{{{notes|}}}}}<!--
        |2={{coor dms2dec|{{{4}}}|{{{3}}}}}
-->{{#ifeq:{{{dim|μ}}}|μ||{{Coord/input/error2|msg=dim= should be dim:|sort_ch=D}}}}<!--
      }}
-->{{#ifeq:{{{globe|μ}}}|μ||{{Coord/input/error2|msg=globe= should be globe:|sort_ch=G}}}}<!--
  |ERROR in &#123;{coor}&#125; invocation
-->{{#ifeq:{{{region|μ}}}|μ||{{Coord/input/error2|msg=region= should be region:|sort_ch=R}}}}<!--
  }} }} }} }}</includeonly><noinclude>{{template doc}}</noinclude>
-->{{#ifeq:{{{scale|μ}}}|μ||{{Coord/input/error2|msg=scale= should be scale:|sort_ch=S}}}}<!--
-->{{#ifeq:{{{source|μ}}}|μ||{{Coord/input/error2|msg=source= should be source:|sort_ch=s}}}}<!--
-->{{#ifeq:{{{type|μ}}}|μ||{{Coord/input/error2|msg=type= should be type:|sort_ch=T}}}}<!--
--></includeonly><noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 17:05, 6 May 2012