Vorlage:CoordinateComplex: Unterschied zwischen den Versionen

Aus KKWiki
Zur Navigation springenZur Suche springen
K (pop und elevation können "fehlen")
(fixes, MAP mit selben Parametern)
Zeile 1: Zeile 1:
 
<onlyinclude>{{Coordinate/Test/{{#switch: {{{NS|}}}
 
<onlyinclude>{{Coordinate/Test/{{#switch: {{{NS|}}}
   ||/|//|///|///N|///S=NO
+
   ||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }}
 
   | {{#switch: {{{EW|}}}
 
   | {{#switch: {{{EW|}}}
   ||/|//|///|///E|///W|///O=NO
+
   ||/|//|///|///E|///W|///O=NO{{#if: {{NAMESPACE}} | x }}
   | MAIN
+
   | {{#if:{{{map|}}}
 +
    | MAP
 +
    | MAIN
 +
  }}
 
   }}
 
   }}
 
  }}
 
  }}
 
  |NS= {{Coordinate/Test/LatRange
 
  |NS= {{Coordinate/Test/LatRange
   | {{#ifeq: {{#titleparts:{{{NS|}}}|1|-1}} | {{{NS|}}}
+
   |1= {{#ifeq: {{#titleparts:{{{NS|}}}|1|-1}} | {{{NS|}}}
 
   | {{{NS|}}}
 
   | {{{NS|}}}
 
   | {{Coordinate/Test/LatDMS
 
   | {{Coordinate/Test/LatDMS
     | {{#titleparts:{{{NS|}}}|1|1}}
+
     |1= {{#titleparts:{{{NS|}}}|1|1}}
     | {{#titleparts:{{{NS|}}}|1|2}}
+
     |2= {{#titleparts:{{{NS|}}}|1|2}}
     | {{#titleparts:{{{NS|}}}|1|3}}
+
     |3= {{#titleparts:{{{NS|}}}|1|3}}
     | {{#titleparts:{{{NS|}}}|1|4}}
+
     |4= {{#titleparts:{{{NS|}}}|1|4}}
 
   }}
 
   }}
 
   }}
 
   }}
 
  }}
 
  }}
 
  |EW= {{Coordinate/Test/LonRange
 
  |EW= {{Coordinate/Test/LonRange
   | {{#ifeq: {{#titleparts:{{{EW|}}}|1|-1}} | {{{EW|}}}
+
   |1= {{#ifeq: {{#titleparts:{{{EW|}}}|1|-1}} | {{{EW|}}}
 
   | {{{EW|}}}
 
   | {{{EW|}}}
 
   | {{Coordinate/Test/LonDMS
 
   | {{Coordinate/Test/LonDMS
     | {{#titleparts:{{{EW|}}}|1|1}}
+
     |1= {{#titleparts:{{{EW|}}}|1|1}}
     | {{#titleparts:{{{EW|}}}|1|2}}
+
     |2= {{#titleparts:{{{EW|}}}|1|2}}
     | {{#titleparts:{{{EW|}}}|1|3}}
+
     |3= {{#titleparts:{{{EW|}}}|1|3}}
     | {{#titleparts:{{{EW|}}}|1|4}}
+
     |4= {{#titleparts:{{{EW|}}}|1|4}}
 
   }}
 
   }}
 
   }}
 
   }}
Zeile 54: Zeile 57:
 
  |dim= {{{dim|}}}
 
  |dim= {{{dim|}}}
 
  |region= {{{region|}}}
 
  |region= {{{region|}}}
 +
|globe= {{{globe|}}}
 
  |text= {{{text|}}}
 
  |text= {{{text|}}}
 
  |article= {{#if: {{{article|}}}
 
  |article= {{#if: {{{article|}}}
Zeile 70: Zeile 74:
 
  }}
 
  }}
 
  |tooltip= {{{tooltip|}}}
 
  |tooltip= {{{tooltip|}}}
  |sortkey= {{#if:{{{text|}}} | {{{sortkey|}}} }}
+
  |sortkey= {{{sortkey|}}}
|globe= {{{globe|}}}
+
<!-- Map-Parameter -->
}}{{#if:{{{1|}}} |
+
  |label      = {{#if:{{{name|}}}
{{CoordinateMSG|5|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
+
  | {{#if:{{{text|}}}
}}{{#if:{{{map|}}} |
+
  | {{#ifexist: {{{name}}}
{{Coordinates/Test/Map
+
    |[[{{{name}}}]]
<!--Coordinates Koordinaten -->
 
  |lat        = {{{NS|}}}
 
  |long      = {{{EW|}}}
 
<!-- Wertebereichstest type, pop, elevation in Vorlage:Positionskarte~ für alle Positionskarten! -->
 
  |type      = {{{type|}}}
 
  |pop        = {{{pop|}}}
 
  |elevation = {{{elevation|}}}
 
  |dim        = {{{dim|}}}
 
  |region    = {{{region|}}}
 
  |globe      = {{{globe|}}}
 
  |name      = {{#ifeq: {{{name|}}} | coordinates
 
  |
 
  | {{{name|}}}
 
  }}
 
  |label      = {{#if:{{{name|}}}
 
  | {{#if:{{{text|}}}
 
    | {{#ifexist: {{{name}}}
 
    |[[{{{name}}}]]
 
    |{{{name}}}
 
    }}
 
 
     |{{{name}}}
 
     |{{{name}}}
 
   }}
 
   }}
   |{{PAGENAME}}
+
   |{{{name}}}
 
   }}
 
   }}
   |maplevel  = {{{maplevel|}}}
+
   |{{PAGENAME}}
  |float      = {{{map}}}
 
  |width      = {{{mapsize|}}}
 
  |maptype    = {{{maptype|}}}
 
 
  }}
 
  }}
 +
|maplevel  = {{{maplevel|}}}
 +
|float      = {{{map}}}
 +
|width      = {{{mapsize|}}}
 +
|maptype    = {{{maptype|}}}
 +
}}{{#if:{{{1|}}} |
 +
{{CoordinateMSG|5|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}
 
}}</onlyinclude>
 
}}</onlyinclude>
  
 
{{Dokumentation}}
 
{{Dokumentation}}

Version vom 19. Juli 2011, 20:13 Uhr

Vorlage:Coordinate/Test/NOx


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