Vorlage:CoordinateComplex: Unterschied zwischen den Versionen
Aus KKWiki
Zur Navigation springenZur Suche springen✓ (Diskussion) K (fix) |
✓ (Diskussion) 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 | + | |type_save = {{#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}} | ||
| 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 | + | | {{#ifeq: {{{type}}} | landmark |
| {{min |250 |{{{dim}}} }} | | {{min |250 |{{{dim}}} }} | ||
| {{{dim}}} | | {{{dim}}} | ||
}} | }} | ||
− | | {{#switch: {{{type | + | | {{#switch: {{{type}}} |
|country|state|adm1st=500001<!--D--> | |country|state|adm1st=500001<!--D--> | ||
|adm2nd|city|mountain|isle= 10001<!--DM--> | |adm2nd|city|mountain|isle= 10001<!--DM--> |