Vorlage:CoordinateLINK: Unterschied zwischen den Versionen

Aus RTW

(linking to google maps with wiki articles enabled)
(removing glibberish)
Zeile 1: Zeile 1:
<onlyinclude>[http://maps.google.com/maps?t=h&z=12&lci=org.wikipedia.de&q={{{NS|0}}},{{{EW|0}}}&{{
+
<onlyinclude>[http://maps.google.com/maps?t=h&z=12&lci=org.wikipedia.de&q={{{NS|0}}},{{{EW|0}}}]</onlyinclude>
#if:{{{dim|}}}|_dim:{{{dim}}}}}{{#switch: {{{globe|}}}
 
||earth={{#if: {{{region|}}}|_region:{{{region}}}}}{{#switch:{{#iferror:{{{type|}}}|}}
 
|=
 
|country|state
 
|adm1st|adm2nd
 
|city|isle=_type:{{{type}}}{{#if:{{#iferror:{{{pop|}}}|}}|({{{pop|}}})}}
 
|mountain=_type:{{{type}}}{{#if:{{#iferror:{{{elevation|}}}|}}|({{{elevation|}}})}}
 
|#default=_type:{{{type}}}
 
}}
 
|#default=_globe:{{{globe}}}
 
}}{{#if:{{{label|}}}|&title={{{label|}}}}} {{#if:{{FULLPAGENAME:{{{name|}}}}}|<span title="{{{name}}}">}}{{#if:{{{0|}}}|{{{0|}}}
 
|{{#if:{{{1|}}}|{{Coordinate to {{{1|}}}{{#ifeq:{{uc:{{{1|}}}}}|DM|S}}
 
|NS={{{NS|0}}}
 
|EW={{{EW|0}}}
 
|sortkey={{{sortkey|}}}
 
|dim= {{#ifeq:{{uc:{{{1|}}}}}|DM
 
|10001
 
|{{#switch:{{{type|}}}
 
|country|state|adm1st={{#if:{{{dim|}}}|{{{dim}}}|500001}}<!--D-->
 
|adm2nd|city|mountain|isle={{#if:{{{dim|}}}|{{{dim}}}|10001}}<!--DM-->
 
|landmark={{#if:{{{dim|}}}|{{min|250|{{{dim|}}}}}}}
 
|#default={{#if:{{{dim|}}}|{{{dim}}}|500}}<!--DMS-->
 
}}
 
}}
 
}}}}{{#switch: {{{2|}}}
 
||{{{1|}}}|{{{1|}}}S=<!--leer-->
 
|#default=&#59; {{#ifeq:{{{2|}}}|CH1903|| (}}{{#if:{{{2|}}}|{{Coordinate to {{{2|}}}
 
  |label={{#ifeq:{{{name|}}}|coordinates|1}}
 
  |NS={{{NS|0}}}
 
  |EW={{{EW|0}}}
 
  |sortkey={{{sortkey|}}}
 
  |dim= {{#switch:{{{type|}}}
 
|country|state|adm1st={{#if:{{{dim|}}}|{{{dim}}}|500001}}<!--D-->
 
|adm2nd|city|mountain|isle={{#if:{{{dim|}}}|{{{dim}}}|10001}}<!--DM-->
 
|landmark={{#if:{{{dim|}}}|{{min|250|{{{dim|}}}}}}}
 
|#default={{#if:{{{dim|}}}|{{{dim}}}|500}}<!--DMS-->
 
}}
 
}}}}{{#ifeq:{{{2|}}}|CH1903||) }}
 
}}
 
}}{{#if:{{FULLPAGENAME:{{{name|}}}}}|</span>}}]</onlyinclude>
 

Version vom 2. Juli 2011, 19:51 Uhr

[1]