Vorlage:CoordinateComplex: Unterschied zwischen den Versionen
Aus KKWiki
Zur Navigation springenZur Suche springen✓ (Diskussion) (-Test) |
K (26 Versionen) |
||
(10 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
| Map | | Map | ||
| {{#switch: {{{NS|}}} | | {{#switch: {{{NS|}}} | ||
− | ||/|//|///|///N|///S= | + | ||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }} |
| {{#switch: {{{EW|}}} | | {{#switch: {{{EW|}}} | ||
− | ||/|//|///|///E|///W|///O= | + | ||/|//|///|///E|///W|///O=NO{{#if: {{NAMESPACE}} | x }} |
| Main | | Main | ||
}} | }} | ||
Zeile 37: | Zeile 37: | ||
}} | }} | ||
}} | }} | ||
− | |type = {{{type|}}} | + | |type = {{#if: {{{type|}}} |
+ | | {{{type}}} | ||
+ | | <span class="error" /> | ||
+ | }} | ||
|pop= {{#if: {{{pop|}}} | |pop= {{#if: {{{pop|}}} | ||
| {{#iferror: {{#ifexpr: abs trunc({{{pop}}}) = ({{{pop}}}) | | {{#iferror: {{#ifexpr: abs trunc({{{pop}}}) = ({{{pop}}}) | ||
Zeile 46: | Zeile 49: | ||
}} | }} | ||
}} | }} | ||
+ | |lw= {{{lw|}}} | ||
|elevation = {{#if: {{{elevation|}}} | |elevation = {{#if: {{{elevation|}}} | ||
| {{#iferror: {{#ifexpr: ({{{elevation}}}) = ({{{elevation}}}) round 2 | | {{#iferror: {{#ifexpr: ({{{elevation}}}) = ({{{elevation}}}) round 2 | ||
| {{{elevation}}} | | {{{elevation}}} | ||
− | + | | <span class="error">keine Tausendertrennzeichen und höchstens 2 Nachkommastellen in der Höhenangabe erlaubt</span> | |
}} | }} | ||
| <span class="error">keine Zahl: {{{elevation}}}</span> | | <span class="error">keine Zahl: {{{elevation}}}</span> | ||
Zeile 69: | Zeile 73: | ||
}} | }} | ||
}} | }} | ||
− | |dim= {{{dim|}}} | + | |dim= {{{dim|}}} |
|region= {{{region|}}} | |region= {{{region|}}} | ||
|globe= {{#ifeq: {{{globe}}} | earth | |globe= {{#ifeq: {{{globe}}} | earth | ||
Zeile 76: | Zeile 80: | ||
}} | }} | ||
|text= {{{text|}}} | |text= {{{text|}}} | ||
− | |article= {{#if: {{{article|}}} | + | |article= {{#if: {{{article|}}}{{{text|}}}{{{map|}}} |
− | + | | {{{article|}}} | |
− | + | | / | |
− | |||
− | |||
− | |||
}} | }} | ||
|name= {{#ifeq: {{{name}}} | coordinates | |name= {{#ifeq: {{{name}}} | coordinates | ||
Zeile 103: | Zeile 104: | ||
|maplayer = {{{maplayer|}}} | |maplayer = {{{maplayer|}}} | ||
|maptrenner = {{{maptrenner|}}} | |maptrenner = {{{maptrenner|}}} | ||
− | |||
− | |||
}}</onlyinclude> | }}</onlyinclude> | ||
{{Dokumentation}} | {{Dokumentation}} |