Vorlage:CoordinateMain: Unterschied zwischen den Versionen

Aus KKWiki
Zur Navigation springenZur Suche springen
K (erster fix)
(tooltip, format, default)
Zeile 24: Zeile 24:
 
   |region    = {{{region}}}
 
   |region    = {{{region}}}
 
   |label    = {{urlencode:{{{name}}}}}
 
   |label    = {{urlencode:{{{name}}}}}
   |name      = {{#if:{{{name}}}|{{{name}}}|{{FULLPAGENAME}}}}
+
   |tooltip  = {{#if: {{{tooltip}}} |{{{tooltip}}} |{{{name}}} }}
   |sortkey  = {{{sortkey}}}
+
   |format    = {{#if: {{{sortkey}}} |sortable }}
   |0 = {{#switch: {{uc:{{ParmPart|1|{{{text}}}}}}}
+
   |0 = {{#switch: {{uc:{{#titleparts:{{{text}}}|1|1}}}}
 
     |<!--leer--> |OSGB36|UTM<!--nicht implementiert--> |DMS|DM|DEC|CH1903= <!--leer-->
 
     |<!--leer--> |OSGB36|UTM<!--nicht implementiert--> |DMS|DM|DEC|CH1903= <!--leer-->
 
     |ICON0=⊙
 
     |ICON0=⊙
Zeile 33: Zeile 33:
 
     |#default= {{{text}}}
 
     |#default= {{{text}}}
 
   }}
 
   }}
   |1 = {{#switch: {{uc:{{ParmPart|1|{{{text}}}}}}}
+
   |1 = {{#switch: {{uc:{{#titleparts:{{{text}}}|1|1}}}}
     |<!--leer-->={{#titleparts:{{CoordinateRR DEFAULT|{{{region}}}}}|1|1}}
+
     |<!--leer-->= {{#titleparts:{{{default}}}|1|1}}
 
     |OSGB36|UTM<!--nicht implementiert → DMS -->
 
     |OSGB36|UTM<!--nicht implementiert → DMS -->
 
     |DMS= DMS
 
     |DMS= DMS
Zeile 41: Zeile 41:
 
     |CH1903= CH1903
 
     |CH1903= CH1903
 
   }}
 
   }}
   |2 = {{#switch: {{uc:{{ParmPart|2|{{{text}}}}}}}
+
   |2 = {{#switch: {{uc:{{#titleparts:{{{text}}}|1|2}}}}
     |<!--leer-->= {{#if:{{#titleparts:{{{text}}}|1|1}}||{{#titleparts:{{CoordinateRR DEFAULT|{{{region}}}}}|1|2}} }}
+
     |<!--leer-->= {{#if: {{{default}}} <!-- kein erster Teil -->
 +
    | {{#titleparts:{{{default}}}|1|2}}
 +
    }}
 
     |DMS= DMS
 
     |DMS= DMS
 
     |DEC= DEC
 
     |DEC= DEC
Zeile 83: Zeile 85:
 
   |region    = {{{region}}}
 
   |region    = {{{region}}}
 
   |label    = {{urlencode:{{{name}}}}}
 
   |label    = {{urlencode:{{{name}}}}}
   |name      = coordinates
+
   |tooltip  = <!-- coordinates --><!-- Sinnloser Tooltip -->
   |sortkey  = {{{sortkey}}}
+
   |format    = <!-- {{{sortkey}}} --><!-- Artikelkoordinate nie in sort-Format -->
   |1 =DMS
+
  |0 =
   |2 ={{#switch: {{uc:{{{article}}}}}
+
   |1 = DMS
 +
   |2 = {{#switch: {{uc:{{{article}}}}}
 
     |DMS|DM= <!--leer-->
 
     |DMS|DM= <!--leer-->
 
     |CH1903|CH1903/DMS|DMS/CH1903= CH1903
 
     |CH1903|CH1903/DMS|DMS/CH1903= CH1903
 
     |OSGB36|OSGB36/DMS|DMS/OSGB36= <!--OSGB36-->
 
     |OSGB36|OSGB36/DMS|DMS/OSGB36= <!--OSGB36-->
 
     |UTM|UTM/DMS|DMS/UTM= <!--UTM-->
 
     |UTM|UTM/DMS|DMS/UTM= <!--UTM-->
     |#default= {{#titleparts:{{CoordinateRR DEFAULT|{{{region}}}}}|1|2}}
+
     |#default= {{#if:{{{default}}}
 +
    | {{{default}}}
 +
    | {{Coordinate/Test/Default|{{{region}}} }}
 +
    }}
 
   }}
 
   }}
 
   }}</div>
 
   }}</div>

Version vom 15. Juli 2011, 18:46 Uhr

Vorlage:CoordinateSORTVorlage:Coordinate/Test/LINKVorlage:ImDruckVerbergen falscher Wert ›{{{type}}}‹ in Parameter type

Dokumentations-Unterseite Diese Seite ist eine Untervorlage von [[]].

Vorlage:Dokumentation/Wartung/keine echte Unterseite