Vorlage:CoordinateComplex: Unterschied zwischen den Versionen

Aus KKWiki
Zur Navigation springenZur Suche springen
K (fix)
K (elevation-fix, - default-type)
Zeile 29: Zeile 29:
 
  }}
 
  }}
 
<!-- Wertebereichstest type, pop und elevation auch in Vorlage:Positionskarte~ -->
 
<!-- Wertebereichstest type, pop und elevation auch in Vorlage:Positionskarte~ -->
  |type_save = {{#switch: {{{type|landmark}}}
+
  |type_save = {{#switch: {{{type}}}
   |country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type|landmark}}}
+
   |country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type}}}
 
   |example={{#if:{{NAMESPACE}}
 
   |example={{#if:{{NAMESPACE}}
 
   | example <!--{{{type}}}-->
 
   | example <!--{{{type}}}-->
Zeile 38: Zeile 38:
 
  |pop_save= {{#if:{{IstZahl|0{{{pop|}}}|N}} |{{{pop}}} }}
 
  |pop_save= {{#if:{{IstZahl|0{{{pop|}}}|N}} |{{{pop}}} }}
 
  |pop = {{{pop|}}}
 
  |pop = {{{pop|}}}
  |elevation_save= {{#if:{{IstZahl|0{{{elevation|}}}|R|2}} |{{{elevation}}} }}
+
  |elevation_save= {{#if:{{IstZahl|0{{{elevation|}}}|R|2}} |{{{elevation|}}} }}
 
  |elevation = {{{elevation|}}}
 
  |elevation = {{{elevation|}}}
 
  |dim_save = {{#if:{{{dim|}}}
 
  |dim_save = {{#if:{{{dim|}}}
   | {{#ifeq: {{{type|landmark}}} | landmark
+
   | {{#ifeq: {{{type}}} | landmark
 
   | {{min |250 |{{{dim}}} }}
 
   | {{min |250 |{{{dim}}} }}
 
   | {{{dim}}}
 
   | {{{dim}}}
 
   }}
 
   }}
   | {{#switch: {{{type|landmark}}}
+
   | {{#switch: {{{type}}}
 
   |country|state|adm1st=500001<!--D-->
 
   |country|state|adm1st=500001<!--D-->
 
   |adm2nd|city|mountain|isle= 10001<!--DM-->
 
   |adm2nd|city|mountain|isle= 10001<!--DM-->

Version vom 16. Juli 2011, 13:51 Uhr

Vorlage:Coordinate/Test/NO


<span style="visibility:hidden" id="Dokumentation[Bearbeiten]"><span id="Anker:Dokumentation[Bearbeiten]">Dokumentation[Bearbeiten]