Difference between revisions of "Template:Coord"

From Wikispooks
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision: import WP event templates)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{Coord/display/{{{display|inline}}}
+
<includeonly>{{#invoke:Coordinates|coord}}<!--
|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}}}}}}}}}}
+
-->{{#coordinates:{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}
|1={{{1|}}}
+
|{{#switch:{{{display|}}}
|2={{{2|}}}
+
|inline,title
|3={{{3|}}}
+
|inline, title
|4={{{4|}}}
+
|it
|5={{{5|}}}
+
|t
|6={{{6|}}}
+
|title,inline
|7={{{7|}}}
+
|title={{#switch:{{SUBPAGENAME}}
|8={{{8|}}}
+
  |doc
|9={{{9|}}}
+
  |testcases=
|10={{{10|}}}
+
  |#default={{talk other||primary}}
|format={{{format|}}}
+
  }}
 +
|#default=
 +
}}
 
|name={{{name|}}}
 
|name={{{name|}}}
}}{{{notes|}}}}}<!--
+
}}</includeonly><noinclude>
-->{{#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}}}}<!--
 
-->{{#ifeq:{{{region|μ}}}|μ||{{Coord/input/error2|msg=region= should be region:|sort_ch=R}}}}<!--
 
-->{{#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}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 17:00, 18 February 2014

Template documentation[create]