Vorlage:CoordinateComplex: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (1 Version importiert: Bei Wikipedia von Löschung bedroht) |
(zurücksetzen funkt nicht) |
||
Zeile 32: | Zeile 32: | ||
}} | }} | ||
|type_safe = {{#switch: {{{type}}} | |type_safe = {{#switch: {{{type}}} | ||
|country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type}}} | |||
|example={{#if:{{NAMESPACE}} | |example={{#if:{{NAMESPACE}} | ||
| example <!--{{{type}}}--> | | example <!--{{{type}}}--> | ||
Zeile 39: | Zeile 39: | ||
|type = {{#if: {{{type|}}} | |type = {{#if: {{{type|}}} | ||
| {{{type}}} | | {{{type}}} | ||
| <span class="error" | | <span class="error" /> | ||
}} | }} | ||
|pop= {{#if: {{{pop|}}} | |pop= {{#if: {{{pop|}}} | ||
Zeile 49: | Zeile 49: | ||
}} | }} | ||
}} | }} | ||
|elevation = {{#if: {{{elevation|}}} | |elevation = {{#if: {{{elevation|}}} | ||
| {{#iferror: {{#ifexpr: ({{{elevation}}}) = ({{{elevation}}}) round 2 | | {{#iferror: {{#ifexpr: ({{{elevation}}}) = ({{{elevation}}}) round 2 | ||
Zeile 58: | Zeile 57: | ||
}} | }} | ||
}} | }} | ||
|dim_safe = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }} | |dim_safe = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }} | ||
| {{#switch: {{{type}}} | | {{#switch: {{{type}}} | ||
|country|state|adm1st=500001<!--D--> | |||
|country|state=500001<!--D--> | |adm2nd|city|mountain|isle= 10001<!--DM--> | ||
|landmark= <!-- 250 ??? --> | |||
|landmark | |||
|#default= 500<!--DMS--> | |#default= 500<!--DMS--> | ||
}} | }} | ||
| {{{ | | {{#ifeq: {{{type}}} | landmark | ||
| {{#ifexpr: 250>{{{dim}}} | |||
| {{{dim}}} | |||
| 250 | |||
}} | |||
| {{{dim}}} | |||
| | |||
}} | }} | ||
}} | }} | ||
|dim= {{{dim|}}} | |||
|region= {{{region|}}} | |region= {{{region|}}} | ||
|globe= {{#ifeq: {{{globe}}} | earth | |globe= {{#ifeq: {{{globe}}} | earth |