Vorlage:CoordinateComplex: Unterschied zwischen den Versionen
Aus KKWiki
Zur Navigation springenZur Suche springen✓ (Diskussion) K (titleparts wirkt wie ucfirst) |
✓ (Diskussion) (Parameterüberprüfung) |
||
Zeile 38: | Zeile 38: | ||
}} | }} | ||
|type = {{{type|}}} | |type = {{{type|}}} | ||
− | | | + | |pop= {{#if: {{{pop|}}} |
− | + | | {{#iferror: {{#ifexpr: abs trunc({{{pop}}}) = ({{{pop}}}) | |
− | | | + | | {{{pop}}} |
− | + | <!--| <span class="error">keine ganze Zahl bei Bevölkerung</span> --> | |
− | |dim_save = {{#if: {{{dim| | + | }} |
+ | | <span class="error">{{{pop}}}</span> | ||
+ | }} | ||
+ | }} | ||
+ | |elevation = {{#if: {{{elevation|}}} | ||
+ | | {{#iferror: {{#ifexpr: ({{{elevation}}}) = ({{{elevation}}}) round 2 | ||
+ | | {{{elevation}}} | ||
+ | <!--| <span class="error">zu genaue Höhenangabe</span> ???--> | ||
+ | }} | ||
+ | | <span class="error">{{{elevation}}}</span> | ||
+ | }} | ||
+ | }} | ||
+ | |dim_save = {{#if: {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }} | }} | ||
| {{#ifeq: {{{type}}} | landmark | | {{#ifeq: {{{type}}} | landmark | ||
| {{min |250 |{{{dim}}} }} | | {{min |250 |{{{dim}}} }} | ||
Zeile 54: | Zeile 66: | ||
}} | }} | ||
}} | }} | ||
− | |dim= {{{dim|}}} | + | |dim= {{{dim|}}}<!-- keine Parameterprüfung ???--> |
|region= {{{region|}}} | |region= {{{region|}}} | ||
|globe= {{#ifeq: {{{globe}}} | earth | |globe= {{#ifeq: {{{globe}}} | earth | ||
Zeile 65: | Zeile 77: | ||
| {{#if: {{{text|}}}{{{map|}}} | | {{#if: {{{text|}}}{{{map|}}} | ||
| | | | ||
− | | / | + | | / |
}} | }} | ||
}} | }} | ||
Zeile 76: | Zeile 88: | ||
}} | }} | ||
|tooltip= {{{tooltip|}}} | |tooltip= {{{tooltip|}}} | ||
+ | |ttf = {{{tooltipformat|DMS}}} | ||
|sortkey= {{{sortkey|}}} | |sortkey= {{{sortkey|}}} | ||
<!-- Map-Parameter --> | <!-- Map-Parameter --> |