Vorlage:CoordinateMain: Unterschied zwischen den Versionen
Aus KKWiki
Zur Navigation springenZur Suche springen✓ (Diskussion) K (uppercase microformat) |
K (30 Versionen) |
||
(10 dazwischenliegende Versionen von 7 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | <onlyinclude>{{#iferror:{{{NS}}}{{{EW}}} | + | <onlyinclude><includeonly>{{#iferror:{{{NS}}}{{{EW}}} |
| {{CoordinateMessage|1 |{{{NS}}} |{{{EW}}} }} | | {{CoordinateMessage|1 |{{{NS}}} |{{{EW}}} }} | ||
|<!-- | |<!-- | ||
Zeile 7: | Zeile 7: | ||
-->{{#if: {{{text}}} | -->{{#if: {{{text}}} | ||
| {{#if: {{{sortkey}}} | | {{#if: {{{sortkey}}} | ||
− | | {{ | + | | {{CoordinateSort |{{{NS}}} |{{{EW}}} |key={{{sortkey}}} }} |
}}<span id="{{#if: {{{name}}} | }}<span id="{{#if: {{{name}}} | ||
| {{anchorencode:{{{name}}}}} | | {{anchorencode:{{{name}}}}} | ||
Zeile 38: | Zeile 38: | ||
|0 = {{#switch: {{uc:{{#titleparts:{{{text}}}|1|1}}}} | |0 = {{#switch: {{uc:{{#titleparts:{{{text}}}|1|1}}}} | ||
|<!--leer--> |OSGB36<!--nicht implementiert-->|DMS|DM|DEC|CH1903|UTM= <!--leer--> | |<!--leer--> |OSGB36<!--nicht implementiert-->|DMS|DM|DEC|CH1903|UTM= <!--leer--> | ||
− | |ICON0= | + | |ICON0=⊙ |
− | |ICON = | + | |ICON =⦁ |
− | |ICON1=<sup> | + | |ICON1=<sup>▼</sup> |
|#default= {{{text}}} | |#default= {{{text}}} | ||
}} | }} | ||
Zeile 63: | Zeile 63: | ||
}} | }} | ||
}}</span> | }}</span> | ||
− | }}<span class="geo microformat"><span class="body">{{ucfirst:{{{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}}}|{{{ | + | }}<span class="geo microformat"><span class="body">{{ucfirst:{{{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_safe}}}||X}} |
|  {{CoordinateMessage | |  {{CoordinateMessage | ||
|3<!-- 4,6,7,9 --> | |3<!-- 4,6,7,9 --> | ||
Zeile 70: | Zeile 70: | ||
|elevation = {{{elevation}}} | |elevation = {{{elevation}}} | ||
|pop = {{{pop}}} | |pop = {{{pop}}} | ||
− | }}{{#if:{{{mapfloat}}}<!-- alternativ {{{mapname|}}}{{{maplevel|}}}{{{mapsize|}}}{{{maptype|}}}{{{maplayer|}}}{{{maptrenner|}}} --> | + | }}{{#if:{{{mapfloat|}}}<!-- alternativ {{{mapname|}}}{{{maplevel|}}}{{{mapsize|}}}{{{maptype|}}}{{{maplayer|}}}{{{maptrenner|}}} --> |
− | |<!-- Einbindung aus / | + | |<!-- Einbindung aus /Map --> |
| {{#if:{{{mapname}}}{{{maplevel}}}{{{mapsize}}}{{{maptype}}}{{{maplayer}}}{{{maptrenner}}} | | {{#if:{{{mapname}}}{{{maplevel}}}{{{mapsize}}}{{{maptype}}}{{{maplayer}}}{{{maptrenner}}} | ||
|  {{CoordinateMessage|10}} | |  {{CoordinateMessage|10}} | ||
Zeile 113: | Zeile 113: | ||
}} | }} | ||
}}</span> | }}</span> | ||
+ | }}<!-- | ||
+ | |||
+ | coordinates parser function | ||
+ | |||
+ | -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}| | ||
+ | {{#if:{{{globe|}}}|<!--nichts-->| | ||
+ | {{#coordinates:{{formatnum:{{{NS}}}}}|{{formatnum:{{{EW}}}}}|{{#if:{{{article}}}|primary}} | ||
+ | |dim={{{dim}}} | ||
+ | |globe={{{globe}}} | ||
+ | |name={{{name}}} | ||
+ | |region={{{region}}} | ||
+ | |type={{{type}}} | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
− | }}</onlyinclude> | + | }}</includeonly></onlyinclude> |
{{Dokumentation/Unterseite}} | {{Dokumentation/Unterseite}} |
Aktuelle Version vom 23. September 2014, 21:20 Uhr
Diese Seite ist eine Untervorlage von [[]]. |