Vorlage:CoordinateComplex: Unterschied zwischen den Versionen

Aus KKWiki
Zur Navigation springenZur Suche springen
(+maplabel)
(-Test)
Zeile 1: Zeile 1:
<onlyinclude>{{Coordinate/Test/{{#if:{{{map|}}}
+
<onlyinclude>{{Coordinate{{#if:{{{map|}}}
   | MAP
+
   | Map
 
   | {{#switch: {{{NS|}}}
 
   | {{#switch: {{{NS|}}}
   ||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }}
+
   ||/|//|///|///N|///S=None{{#if: {{NAMESPACE}} | NR }}
 
   | {{#switch: {{{EW|}}}
 
   | {{#switch: {{{EW|}}}
     ||/|//|///|///E|///W|///O=NO{{#if: {{NAMESPACE}} | x }}
+
     ||/|//|///|///E|///W|///O=None{{#if: {{NAMESPACE}} | NR }}
     | MAIN
+
     | Main
 
   }}
 
   }}
 
   }}
 
   }}
 
  }}
 
  }}
  |NS= {{Coordinate/Test/LatRange
+
  |NS= {{Coordinate/LatRange
 
   |1= {{#ifeq: {{#titleparts:X{{{NS}}}|1|-1}} | X{{{NS}}}
 
   |1= {{#ifeq: {{#titleparts:X{{{NS}}}|1|-1}} | X{{{NS}}}
 
   | {{{NS|}}}
 
   | {{{NS|}}}
   | {{Coordinate/Test/LatDMS
+
   | {{Coordinate/LatDMS
 
     |1= {{#titleparts:{{{NS}}}|1|1}}
 
     |1= {{#titleparts:{{{NS}}}|1|1}}
 
     |2= {{#titleparts:{{{NS}}}|1|2}}
 
     |2= {{#titleparts:{{{NS}}}|1|2}}
Zeile 20: Zeile 20:
 
   }}
 
   }}
 
  }}
 
  }}
  |EW= {{Coordinate/Test/LonRange
+
  |EW= {{Coordinate/LonRange
 
   |1= {{#ifeq: {{#titleparts:X{{{EW}}}|1|-1}} | X{{{EW}}}
 
   |1= {{#ifeq: {{#titleparts:X{{{EW}}}|1|-1}} | X{{{EW}}}
 
   | {{{EW|}}}
 
   | {{{EW|}}}
   | {{Coordinate/Test/LonDMS
+
   | {{Coordinate/LonDMS
 
     |1= {{#titleparts:{{{EW}}}|1|1}}
 
     |1= {{#titleparts:{{{EW}}}|1|1}}
 
     |2= {{#titleparts:{{{EW}}}|1|2}}
 
     |2= {{#titleparts:{{{EW}}}|1|2}}
Zeile 31: Zeile 31:
 
   }}
 
   }}
 
  }}
 
  }}
  |type_save = {{#switch: {{{type}}}
+
  |type_safe = {{#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}}
Zeile 54: Zeile 54:
 
   }}
 
   }}
 
  }}
 
  }}
  |dim_save = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }}
+
  |dim_safe = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }}
 
   | {{#switch: {{{type}}}
 
   | {{#switch: {{{type}}}
 
   |country|state|adm1st=500001<!--D-->
 
   |country|state|adm1st=500001<!--D-->
Zeile 88: Zeile 88:
 
  }}
 
  }}
 
  |default= {{#ifeq: {{padleft:|1|{{{text}}} }} | /
 
  |default= {{#ifeq: {{padleft:|1|{{{text}}} }} | /
   | {{Coordinate/Test/Default|{{{region|}}} }}
+
   | {{CoordinateDefault|{{{region|}}} }}
 
  }}
 
  }}
 
  |tooltip= {{{tooltip|}}}
 
  |tooltip= {{{tooltip|}}}
Zeile 104: Zeile 104:
 
  |maptrenner = {{{maptrenner|}}}
 
  |maptrenner = {{{maptrenner|}}}
 
}}{{#if:{{{1|}}} |
 
}}{{#if:{{{1|}}} |
  {{Coordinate/Test/MSG|5|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
+
  {{CoordinateMessage|5|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
 
}}</onlyinclude>
 
}}</onlyinclude>
  
 
{{Dokumentation}}
 
{{Dokumentation}}

Version vom 8. Dezember 2011, 04:14 Uhr

Vorlage:CoordinateNoneNR


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