Vorlage:CoordinateMain: Unterschied zwischen den Versionen

Aus KKWiki
Zur Navigation springenZur Suche springen
(-Test)
Zeile 1: Zeile 1:
 
<onlyinclude>{{#iferror:{{{NS}}}{{{EW}}}
 
<onlyinclude>{{#iferror:{{{NS}}}{{{EW}}}
  | {{Coordinate/Test/MSG|1 |{{{NS}}} |{{{EW}}} }}
+
  | {{CoordinateMessage|1 |{{{NS}}} |{{{EW}}} }}
 
  |<!--
 
  |<!--
  
Zeile 11: Zeile 11:
 
   | {{anchorencode:{{{name}}}}}
 
   | {{anchorencode:{{{name}}}}}
 
   | text_coordinates
 
   | text_coordinates
   }}" class="coordinates plainlinks-print">{{#ifeq: {{{type_save}}} | example
+
   }}" class="coordinates plainlinks-print">{{#ifeq: {{{type_safe}}} | example
 
   | <span style="background:white; font-style:italic;">Beispiel</span>&#32;
 
   | <span style="background:white; font-style:italic;">Beispiel</span>&#32;
 
   }}{{#if: {{{article}}}{{{name}}}
 
   }}{{#if: {{{article}}}{{{name}}}
 
   |
 
   |
   | {{Coordinate/Test/MSG|8}}&#32;
+
   | {{CoordinateMessage|8}}&#32;
   }}{{Coordinate/Test/LINK
+
   }}{{CoordinateLink
 
   |NS        = {{{NS}}}
 
   |NS        = {{{NS}}}
 
   |EW        = {{{EW}}}
 
   |EW        = {{{EW}}}
 
   |globe    = {{{globe}}}
 
   |globe    = {{{globe}}}
   |type      = {{{type_save}}}
+
   |type      = {{{type_safe}}}
 
   |pop      = {{#iferror: {{{pop}}} | }}
 
   |pop      = {{#iferror: {{{pop}}} | }}
 
   |elevation = {{#iferror: {{{elevation}}} | }}
 
   |elevation = {{#iferror: {{{elevation}}} | }}
 
   |dim      = {{{dim}}}
 
   |dim      = {{{dim}}}
   |dim_save = {{{dim_save}}}
+
   |dim_safe = {{{dim_safe}}}
 
   |region    = {{{region}}}
 
   |region    = {{{region}}}
 
   |name      = {{{name}}}
 
   |name      = {{{name}}}
 
   |label    = <!-- zweites Format nicht bezeichnen -->
 
   |label    = <!-- zweites Format nicht bezeichnen -->
 +
  |trenner  = &#32;(
 
   |tooltip  = {{{tooltip}}}
 
   |tooltip  = {{{tooltip}}}
 
   |ttf      = {{{ttf}}}
 
   |ttf      = {{{ttf}}}
Zeile 59: Zeile 60:
 
     |CH1903= CH1903
 
     |CH1903= CH1903
 
     |UTM= UTM
 
     |UTM= UTM
     <!--|OSGB3 = nicht implementiert-->
+
     <!--|OSGB36 = nicht implementiert-->
 
   }}
 
   }}
  |trenner = &#32;(
 
 
   }}</span>
 
   }}</span>
  }}<span class="geo microformat"><span class="body">{{{globe}}}</span><span class="latitude">{{{NS}}}</span><span class="longitude">{{{EW}}}</span><span class="elevation">{{{elevation_save}}}</span><!-- leere Tags werden von Tidy entfernt --></span>{{#if: {{#iferror:{{{pop}}}{{{elevation}}}
+
  }}<span class="geo microformat"><span class="body">{{{globe}}}</span><span class="latitude">{{{NS}}}</span><span class="longitude">{{{EW}}}</span><span class="elevation">{{{elevation}}}</span><!-- leere Tags werden von Tidy entfernt --></span>{{#if: {{#iferror:{{{pop}}}{{{elevation}}}|X|}}{{#if:{{{region}}}{{{globe}}}||X}}{{#ifeq:{{{type}}}|{{{type<includeonly>_safe</includeonly>}}}||X}}
  | X
+
   | &#32;{{CoordinateMessage
  |
 
  }}{{#if:{{{region}}}{{{globe}}}||X}}{{#ifeq:{{{type}}}|{{{type<includeonly>_save</includeonly>}}}||X}}
 
   | &#32;{{Coordinate/Test/MSG
 
 
   |3<!-- 4,6,7,9 -->
 
   |3<!-- 4,6,7,9 -->
 
   |type = {{{type}}}
 
   |type = {{{type}}}
Zeile 76: Zeile 73:
 
   |<!-- Einbindung aus /MAP -->
 
   |<!-- Einbindung aus /MAP -->
 
   | {{#if:{{{mapname}}}{{{maplevel}}}{{{mapsize}}}{{{maptype}}}{{{maplayer}}}{{{maptrenner}}}
 
   | {{#if:{{{mapname}}}{{{maplevel}}}{{{mapsize}}}{{{maptype}}}{{{maplayer}}}{{{maptrenner}}}
     | &#32;{{Coordinate/Test/MSG|10}}
+
     | &#32;{{CoordinateMessage|10}}
 
   }}
 
   }}
 
   }}
 
   }}
Zeile 84: Zeile 81:
  
 
-->{{#if:{{{article}}}
 
-->{{#if:{{{article}}}
   | <span id="coordinates" class="coordinates plainlinks-print"><span title="Koordinatensystem WGS84">Koordinaten: </span>{{#ifeq: {{{type_save}}} | example
+
   | <span id="coordinates" class="coordinates plainlinks-print"><span title="Koordinatensystem WGS84">Koordinaten: </span>{{#ifeq: {{{type_safe}}} | example
 
   | <span style="background:white; font-style:italic;">Beispiel</span>&#32;
 
   | <span style="background:white; font-style:italic;">Beispiel</span>&#32;
   }}{{Coordinate/Test/LINK
+
   }}{{CoordinateLink
 
   |NS        = {{{NS}}}
 
   |NS        = {{{NS}}}
 
   |EW        = {{{EW}}}
 
   |EW        = {{{EW}}}
 
   |globe    = {{{globe}}}
 
   |globe    = {{{globe}}}
   |type      = {{{type_save}}}
+
   |type      = {{{type_safe}}}
 
   |pop      = {{#iferror: {{{pop}}} | }}
 
   |pop      = {{#iferror: {{{pop}}} | }}
 
   |elevation = {{#iferror: {{{elevation}}} | }}
 
   |elevation = {{#iferror: {{{elevation}}} | }}
 
   |dim      = {{{dim}}}
 
   |dim      = {{{dim}}}
   |dim_save = {{{dim_save}}}
+
   |dim_safe = {{{dim_safe}}}
 
   |region    = {{{region}}}
 
   |region    = {{{region}}}
 
   |name      = <!-- Artikelkoordinate ohne title-Parameter ??? -->
 
   |name      = <!-- Artikelkoordinate ohne title-Parameter ??? -->
 
   |label    = ja
 
   |label    = ja
 +
  |trenner  = &#59;&#32; <!-- „; “ -->
 
   |tooltip  = <!-- kein Tooltip -->
 
   |tooltip  = <!-- kein Tooltip -->
 
<!--|ttf      = wird eh nicht ausgewertet -->
 
<!--|ttf      = wird eh nicht ausgewertet -->
Zeile 111: Zeile 109:
 
     |#default= {{#titleparts:{{#if:{{{default}}}
 
     |#default= {{#titleparts:{{#if:{{{default}}}
 
     | {{{default}}}
 
     | {{{default}}}
     | {{Coordinate/Test/Default|{{{region}}} }}
+
     | {{CoordinateDefault|{{{region}}} }}
 
     }}|1|2}}
 
     }}|1|2}}
 
   }}
 
   }}
  |trenner = &#59;&#32; <!-- „; “ -->
 
 
   }}</span>
 
   }}</span>
 
  }}
 
  }}

Version vom 8. Dezember 2011, 04:14 Uhr