FANDOM


(Parameterüberprüfung)
(Parameterüberprüfung)
Zeile 1: Zeile 1:
<onlyinclude>{{Coordinate/Test/{{#switch: {{{NS|}}}
+
<onlyinclude>{{Coordinate/Test/{{#if:{{{map|}}}
||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }}
+
| MAP
| {{#switch: {{{EW|}}}
+
| {{#switch: {{{NS|}}}
||/|//|///|///E|///W|///O=NO{{#if: {{NAMESPACE}} | x }}
+
||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }}
| {{#if:{{{map|}}}
+
| {{#switch: {{{EW|}}}
| MAP
+
||/|//|///|///E|///W|///O=NO{{#if: {{NAMESPACE}} | x }}
 
| MAIN
 
| MAIN
 
}}
 
}}
Zeile 41: Zeile 41:
 
| {{#iferror: {{#ifexpr: abs trunc({{{pop}}}) = ({{{pop}}})
 
| {{#iferror: {{#ifexpr: abs trunc({{{pop}}}) = ({{{pop}}})
 
| {{{pop}}}
 
| {{{pop}}}
<!--| <span class="error">keine ganze Zahl bei Bevölkerung</span> -->
+
| <span class="error">keine ganze Zahl bei Bevölkerung</span>
 
}}
 
}}
| <span class="error">{{{pop}}}</span>
+
| <span class="error">keine Zahl: {{{pop}}}</span>
 
}}
 
}}
 
}}
 
}}
Zeile 51: Zeile 51:
 
<!--| <span class="error">zu genaue Höhenangabe</span> ???-->
 
<!--| <span class="error">zu genaue Höhenangabe</span> ???-->
 
}}
 
}}
| <span class="error">{{{elevation}}}</span>
+
| <span class="error">keine Zahl: {{{elevation}}}</span>
 
}}
 
}}
 
}}
 
}}
|dim_save = {{#if: {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }} | }}
+
|dim_save = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }}
| {{#ifeq: {{{type}}} | landmark
 
| {{min |250 |{{{dim}}} }}
 
| {{{dim}}}
 
}}
 
 
| {{#switch: {{{type}}}
 
| {{#switch: {{{type}}}
 
|country|state|adm1st=500001<!--D-->
 
|country|state|adm1st=500001<!--D-->
Zeile 60: Zeile 60:
 
|landmark= <!-- 250 ??? -->
 
|landmark= <!-- 250 ??? -->
 
|#default= 500<!--DMS-->
 
|#default= 500<!--DMS-->
  +
}}
  +
| {{#ifeq: {{{type}}} | landmark
  +
| {{#ifexpr: 250>{{{dim}}}
  +
| {{{dim}}}
  +
| 250
  +
}}
  +
| {{{dim}}}
 
}}
 
}}
 
}}
 
}}
Zeile 89: Zeile 96:
 
|mapname = {{{mapname|}}}
 
|mapname = {{{mapname|}}}
 
|maplevel = {{{maplevel|}}}
 
|maplevel = {{{maplevel|}}}
|mapcaption = {{{mapcaption|auto}}}
 
 
|mapfloat = {{{map}}}
 
|mapfloat = {{{map}}}
 
|mapsize = {{{mapsize|}}}
 
|mapsize = {{{mapsize|}}}
 
|maptype = {{{maptype|}}}
 
|maptype = {{{maptype|}}}
  +
|mapcaption = {{{mapcaption|auto}}}
  +
|maplayer = {{{maplayer|}}}
 
}}{{#if:{{{1|}}} |
 
}}{{#if:{{{1|}}} |
{{CoordinateMSG|5|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
+
{{Coordinate/Test/MSG|4|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
 
}}</onlyinclude>
 
}}</onlyinclude>
   

Version vom 24. Juli 2011, 16:29 Uhr

Vorlage:Coordinate/Test/NOx


Dokumentation[Bearbeiten]


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