FANDOM


K (erg)
K (26 Versionen importiert: Export aus der Wikipedia)
 
(11 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<onlyinclude>{{Coordinate/Test/{{#if:{{{map|}}}
+
<onlyinclude>{{Coordinate{{#if:{{{map|}}}
| MAP
+
| Map
 
| {{#switch: {{{NS|}}}
 
| {{#switch: {{{NS|}}}
 
||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }}
 
||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }}
 
| {{#switch: {{{EW|}}}
 
| {{#switch: {{{EW|}}}
 
||/|//|///|///E|///W|///O=NO{{#if: {{NAMESPACE}} | x }}
 
||/|//|///|///E|///W|///O=NO{{#if: {{NAMESPACE}} | x }}
| MAIN
+
| Main
 
}}
 
}}
 
}}
 
}}
 
}}
 
}}
|NS= {{Coordinate/Test/LatRange
+
|NS= {{Coordinate/LatRange
 
|1= {{#ifeq: {{#titleparts:X{{{NS}}}|1|-1}} | X{{{NS}}}
 
|1= {{#ifeq: {{#titleparts:X{{{NS}}}|1|-1}} | X{{{NS}}}
 
| {{{NS|}}}
 
| {{{NS|}}}
| {{Coordinate/Test/LatDMS
+
| {{Coordinate/LatDMS
 
|1= {{#titleparts:{{{NS}}}|1|1}}
 
|1= {{#titleparts:{{{NS}}}|1|1}}
 
|2= {{#titleparts:{{{NS}}}|1|2}}
 
|2= {{#titleparts:{{{NS}}}|1|2}}
Zeile 20: Zeile 20:
 
}}
 
}}
 
}}
 
}}
|EW= {{Coordinate/Test/LonRange
+
|EW= {{Coordinate/LonRange
 
|1= {{#ifeq: {{#titleparts:X{{{EW}}}|1|-1}} | X{{{EW}}}
 
|1= {{#ifeq: {{#titleparts:X{{{EW}}}|1|-1}} | X{{{EW}}}
 
| {{{EW|}}}
 
| {{{EW|}}}
| {{Coordinate/Test/LonDMS
+
| {{Coordinate/LonDMS
 
|1= {{#titleparts:{{{EW}}}|1|1}}
 
|1= {{#titleparts:{{{EW}}}|1|1}}
 
|2= {{#titleparts:{{{EW}}}|1|2}}
 
|2= {{#titleparts:{{{EW}}}|1|2}}
Zeile 31: Zeile 31:
 
}}
 
}}
 
}}
 
}}
|type_save = {{#switch: {{{type}}}
+
|type_safe = {{#switch: {{{type}}}
 
|country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type}}}
 
|country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type}}}
 
|example={{#if:{{NAMESPACE}}
 
|example={{#if:{{NAMESPACE}}
Zeile 37: Zeile 37:
 
}}
 
}}
 
}}
 
}}
|type = {{{type|}}}
+
|type = {{#if: {{{type|}}}
  +
| {{{type}}}
  +
| <span class="error" />
  +
}}
 
|pop= {{#if: {{{pop|}}}
 
|pop= {{#if: {{{pop|}}}
 
| {{#iferror: {{#ifexpr: abs trunc({{{pop}}}) = ({{{pop}}})
 
| {{#iferror: {{#ifexpr: abs trunc({{{pop}}}) = ({{{pop}}})
Zeile 49: Zeile 49:
 
| {{#iferror: {{#ifexpr: ({{{elevation}}}) = ({{{elevation}}}) round 2
 
| {{#iferror: {{#ifexpr: ({{{elevation}}}) = ({{{elevation}}}) round 2
 
| {{{elevation}}}
 
| {{{elevation}}}
<!--| <span class="error">zu genaue Höhenangabe</span> ???-->
+
| <span class="error">keine Tausendertrennzeichen und höchstens 2 Nachkommastellen in der Höhenangabe erlaubt</span>
 
}}
 
}}
 
| <span class="error">keine Zahl: {{{elevation}}}</span>
 
| <span class="error">keine Zahl: {{{elevation}}}</span>
 
}}
 
}}
 
}}
 
}}
|dim_save = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }}
+
|dim_safe = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }}
 
| {{#switch: {{{type}}}
 
| {{#switch: {{{type}}}
 
|country|state|adm1st=500001<!--D-->
 
|country|state|adm1st=500001<!--D-->
Zeile 69: Zeile 69:
 
}}
 
}}
 
}}
 
}}
|dim= {{{dim|}}}<!-- keine Parameterprüfung ???-->
+
|dim= {{{dim|}}}
 
|region= {{{region|}}}
 
|region= {{{region|}}}
 
|globe= {{#ifeq: {{{globe}}} | earth
 
|globe= {{#ifeq: {{{globe}}} | earth
Zeile 76: Zeile 76:
 
}}
 
}}
 
|text= {{{text|}}}
 
|text= {{{text|}}}
|article= {{#if: {{{article|}}}
+
|article= {{#if: {{{article|}}}{{{text|}}}{{{map|}}}
| {{{article}}}
+
| {{{article|}}}
| {{#if: {{{text|}}}{{{map|}}}
+
| /
|
 
| /
 
}}
 
 
}}
 
}}
 
|name= {{#ifeq: {{{name}}} | coordinates
 
|name= {{#ifeq: {{{name}}} | coordinates
Zeile 85: Zeile 85:
 
}}
 
}}
 
|default= {{#ifeq: {{padleft:|1|{{{text}}} }} | /
 
|default= {{#ifeq: {{padleft:|1|{{{text}}} }} | /
| {{Coordinate/Test/Default|{{{region|}}} }}
+
| {{CoordinateDefault|{{{region|}}} }}
 
}}
 
}}
 
|tooltip= {{{tooltip|}}}
 
|tooltip= {{{tooltip|}}}
Zeile 97: Zeile 97:
 
|maptype = {{{maptype|}}}
 
|maptype = {{{maptype|}}}
 
|mapcaption = {{{mapcaption|auto}}}
 
|mapcaption = {{{mapcaption|auto}}}
  +
|maplabel = {{{maplabel|}}}
 
|maplayer = {{{maplayer|}}}
 
|maplayer = {{{maplayer|}}}
 
|maptrenner = {{{maptrenner|}}}
 
|maptrenner = {{{maptrenner|}}}
}}{{#if:{{{1|}}} |
 
{{Coordinate/Test/MSG|5|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
 
 
}}</onlyinclude>
 
}}</onlyinclude>
   

Aktuelle Version vom 22. Dezember 2013, 22:43 Uhr

Koordinaten fehlen! Hilf mit.


Dokumentation[Bearbeiten]


Nutzung von Community-Inhalten gemäß CC-BY-SA , sofern nicht anders angegeben.