Vorlage:CoordinateLink: Unterschied zwischen den Versionen
Aus KKWiki
Zur Navigation springenZur Suche springen✓ (Diskussion) (zweiter fix) |
✓ (Diskussion) |
||
Zeile 8: | Zeile 8: | ||
| _dim:{{{dim}}} | | _dim:{{{dim}}} | ||
}}{{#switch: {{{globe}}} | }}{{#switch: {{{globe}}} | ||
− | ||earth= {{#if: {{{region}}} | + | | |
+ | |earth= {{#if: {{{region}}} | ||
| _region:{{{region}}} | | _region:{{{region}}} | ||
}}{{#switch: {{{type}}} | }}{{#switch: {{{type}}} | ||
Zeile 21: | Zeile 22: | ||
}}{{#if: {{{label}}} | }}{{#if: {{{label}}} | ||
| &title={{{label}}} | | &title={{{label}}} | ||
− | }}}} {{#if:{{ | + | }}}} {{#if:{{{0}}}{{{tooltip}}} |
− | + | | <span title="{{{tooltip}}} {{#if:{{{0}}} | |
− | }}{{#if: {{{0 | + | | {{Coordinate/Test/to DMS tagless |
+ | |NS={{{NS}}} | ||
+ | |EW={{{EW}}} | ||
+ | <!-- |dim={{{dim_save}}}--> | ||
+ | |round= (2 - 2*((1{{{dim_save}}})=1) - ((0{{{dim_save}}})>500000) - ((0{{{dim_save}}})>10000) - ((0{{{dim_save}}})>250) - ((0{{{dim_save}}})>25)) ) | ||
+ | }} | ||
+ | }}"> | ||
+ | }}{{#if: {{{0}}} | ||
| {{{0}}} | | {{{0}}} | ||
− | | {{#if:{{{1}}} | + | | {{#if: {{{1}}} |
− | | {{Coordinate to {{{1}}} | + | | {{Coordinate/Test/to {{{1}}}{{#ifeq:{{{1}}}|DM|S}} {{{format}}} |
+ | <!--|label= --> | ||
|NS={{{NS}}} | |NS={{{NS}}} | ||
|EW={{{EW}}} | |EW={{{EW}}} | ||
− | | | + | |round= {{#ifeq: {{{1}}} | DM |
− | + | | -1 | |
− | | | + | | (2 - 2*((1{{{dim_save}}})=1) - ((0{{{dim_save}}})>500000) - ((0{{{dim_save}}})>10000) - ((0{{{dim_save}}})>250) - ((0{{{dim_save}}})>25)) ) |
− | | {{{dim_save}}} | ||
}} | }} | ||
}} | }} | ||
}}{{#switch: {{{2}}} | }}{{#switch: {{{2}}} | ||
||{{{1}}}|{{{1}}}S=<!--leer--> | ||{{{1}}}|{{{1}}}S=<!--leer--> | ||
− | |#default=; {{#ifeq:{{{2}}}|CH1903||(}}{{Coordinate to {{{2}}} | + | |#default=; {{#ifeq:{{{2}}}|CH1903||(}}{{Coordinate/Test/to {{{2}}} {{{format}}} |
|label={{#ifeq:{{{name}}}|coordinates|1}} | |label={{#ifeq:{{{name}}}|coordinates|1}} | ||
|NS={{{NS}}} | |NS={{{NS}}} | ||
|EW={{{EW}}} | |EW={{{EW}}} | ||
− | | | + | |round=(2 - 2*((1{{{dim_save}}})=1) - ((0{{{dim_save}}})>500000) - ((0{{{dim_save}}})>10000) - ((0{{{dim_save}}})>250) - ((0{{{dim_save}}})>25)) ) |
− | |||
}}{{#ifeq:{{{2}}}|CH1903||)}} | }}{{#ifeq:{{{2}}}|CH1903||)}} | ||
}} | }} | ||
− | }}{{#if:{{ | + | }}{{#if:{{{0}}}{{{tooltip}}} |
| </span> | | </span> | ||
}}]</onlyinclude> | }}]</onlyinclude> | ||
{{Dokumentation/Unterseite}} | {{Dokumentation/Unterseite}} |
Version vom 15. Juli 2011, 18:43 Uhr
Diese Seite ist eine Untervorlage von [[]]. |