|
|
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| <onlyinclude><includeonly><!-- | | <onlyinclude>{{#if:{{{bare|}}}||[}}https://geohack.toolforge.org/geohack.php?pagename={{FULLPAGENAMEE}}&language=de¶ms={{ |
| -->[{{#if:{{{datei}}}|[{{{datei}}}{{!}}link=}}<!-- wenn datei, dann Dateilink mit "link="
| | #expr:abs({{{NS|0}}})}}_{{#ifexpr:{{{NS|0}}}<0|S|N}}_{{#expr:abs({{{EW|0}}})}}_{{#ifexpr:{{{EW|0}}}<0|W|E}}{{ |
| -->//tools.wmflabs.org/geohack/geohack.php?pagename={{FULLPAGENAMEE}}&language=de¶ms=<!--
| | #if:{{{dim|}}}|_dim:{{{dim}}}}}{{#switch: {{{globe|}}} |
| -->{{#expr:abs({{{NS}}})}}_{{#ifexpr:{{{NS}}}<0|S|N}}_{{#expr:abs({{{EW}}})}}_{{#ifexpr:{{{EW}}}<0|W|E}}<!--
| | ||earth={{#if: {{{region|}}}|_region:{{{region}}}}}{{#switch:{{#iferror:{{{type|}}}}} |
| -->{{#if:{{{dim}}}|_dim:{{{dim}}}}}<!--
| | |= |
| -->{{#if:{{{globe}}}|_globe:{{{globe}}}<!--
| | |country|state |
| -->|{{#if:{{{region}}}|_region:{{{region}}}}}<!--
| | |adm1st|adm2nd |
| -->{{#switch:{{{type}}}<!--
| | |city|isle=_type:{{{type}}}{{#iferror:({{{pop|}}})}} |
| -->|=<!--
| | |mountain=_type:{{{type}}}{{#iferror:({{{elevation|}}})}} |
| -->|country|state|adm1st|adm2nd|city|isle=_type:{{{type}}}{{#if:{{{pop}}}|({{{pop}}})}}<!--
| | |#default=_type:{{{type}}} |
| -->|mountain=_type:{{{type}}}{{#if:{{{elevation}}}|({{{elevation|}}})}}<!--
| | }} |
| -->|#default=_type:{{{type}}}<!--
| | |#default=_globe:{{{globe}}} |
| -->}}<!--
| | }}{{#if:{{{label|}}}|&title={{{label}}}}} {{#if:{{FULLPAGENAME:{{{name|}}}}}|<span title="{{{name}}}">}}{{#if:{{{0|}}}|{{{0}}} |
| -->}}<!-- Ende Wert für params
| | |{{#if:{{{1|}}}|{{Coordinate to {{{1}}}{{#ifeq:{{uc:{{{1}}}}}|DM|S}} |
| -->{{#if:{{{name}}}<!--
| | |NS={{{NS|0}}} |
| -->|&title={{urlencode:{{{name}}}}}<!--
| | |EW={{{EW|0}}} |
| -->}} <!-- Das Leerzeichen zwischen URL und Linktext!
| | |sortkey={{{sortkey|}}} |
| -->{{#if:{{{datei}}}<!--
| | |dim= {{#ifeq:{{uc:{{{1}}}}}|DM |
| -->|{{!}}<!-- Pipe für Dateilink
| | |10001 |
| -->|{{#if:{{{0}}}{{{tooltip}}}|<span title="}}<!--
| | |{{#switch:{{{type|}}} |
| -->}}<!-- Ende "if datei"
| | |country|state|adm1st={{#if:{{{dim|}}}|{{{dim}}}|500001}}<!--D--> |
| -->{{{tooltip}}} <!--
| | |adm2nd|city|mountain|isle={{#if:{{{dim|}}}|{{{dim}}}|10001}}<!--DM--> |
| -->{{#if:{{{0}}}<!--
| | |landmark={{#if:{{{dim|}}}|{{min|250|{{{dim}}}}}}} |
| -->|{{#if:{{{tooltip}}}<!--
| | |#default={{#if:{{{dim|}}}|{{{dim}}}|500}}<!--DMS--> |
| -->|<!-- nix
| | }} |
| -->|{{{name}}}{{#if:{{{ttf}}}|: }}<!--
| | }} |
| -->}}<!--
| | }}}}{{#switch: {{{2|}}} |
| -->|{{#if:{{{tooltip}}}|">}}<!--
| | ||{{{1|}}}|{{{1|}}}S=<!--leer--> |
| -->}}<!-- Ende "if 0"
| | |#default=; {{#ifeq:{{{2}}}|CH1903|| (}}{{#if:{{{2|}}}|{{Coordinate to {{{2}}} |
| -->{{#if:{{{1}}}{{{0}}}<!--
| | |label={{#ifeq:{{{name|}}}|coordinates|1}} |
| -->|{{#if:{{{1}}}{{{ttf}}}<!-- "1" wohl überflüssig
| | |NS={{{NS|0}}} |
| -->|{{Coordinate/to_{{#if:{{{1}}}|{{{1}}}_{{{format}}}|{{{ttf}}}_tagless}}<!--
| | |EW={{{EW|0}}} |
| -->|label=<!--
| | |sortkey={{{sortkey|}}} |
| -->|NS={{{NS}}}<!--
| | |dim= {{#switch:{{{type|}}} |
| -->|EW={{{EW}}}<!--
| | |country|state|adm1st={{#if:{{{dim|}}}|{{{dim}}}|500001}}<!--D--> |
| -->|round= (2-2*((1{{{dim_safe}}})=1)-2*((0{{{dim_safe}}})>500000)-2*((0{{{dim_safe}}})>10000)-((0{{{dim_safe}}})>250)- ((0{{{dim_safe}}})>25))<!--
| | |adm2nd|city|mountain|isle={{#if:{{{dim|}}}|{{{dim}}}|10001}}<!--DM--> |
| -->}}<!-- Ende Einbindung "Coordinate/to..."
| | |landmark={{#if:{{{dim|}}}|{{min|250|{{{dim}}}}}}} |
| -->}}<!-- Ende 'if 1 oder ttf'
| | |#default={{#if:{{{dim|}}}|{{{dim}}}|500}}<!--DMS--> |
| -->}}<!-- Ende 'if 1 oder 0'
| | }} |
| -->{{#if:{{{datei}}}<!--
| | }}}}{{#ifeq:{{{2}}}|CH1903||) }} |
| -->|]<!-- Wenn datei, dann die erste Klammer der Doppelklammer schließen
| | }} |
| -->|{{#if:{{{0}}}<!--
| | }}{{#if:{{FULLPAGENAME:{{{name|}}}}}|</span>}}{{#if:{{{bare|}}}||]}}</onlyinclude>{{Dokumentation}} |
| -->|"><!-- String von 'title="' abschließen
| |
| -->{{{0}}}</span><!--
| |
| -->|{{#switch:{{{2}}}<!--
| |
| -->|<!--
| |
| -->|{{{1}}}<!--
| |
| -->|{{{1}}}S=<!--leer
| |
| -->|#default={{{trenner}}}<!--
| |
| -->{{Coordinate/to_{{{2}}}_{{{format}}}<!--
| |
| -->|label={{{label}}}<!--
| |
| -->|NS={{{NS}}}<!--
| |
| -->|EW={{{EW}}}<!--
| |
| -->|round=(2 -2*((1{{{dim_safe}}})=1) -2*((0{{{dim_safe}}})>500000) -2*((0{{{dim_safe}}})>10000) -((0{{{dim_safe}}})>250) -((0{{{dim_safe}}})>25))<!--
| |
| -->}}<!-- Ende Einbindung 'Coordinate/to...'
| |
| -->{{#ifeq:{{{trenner}}}| (|)}}<!-- etwaigen Trenner anhängen
| |
| -->}}<!-- Ende "switch 2"
| |
| -->{{#if:{{{tooltip}}}|</span>}}<!-- wenn tooltip, dann Spantag schließen
| |
| -->}}<!-- Ende 'if 0'
| |
| -->}}<!-- Ende 'if datei'
| |
| -->]<!-- letzte Klammer schließen, Link damit fertig
| |
| --></includeonly></onlyinclude>
| |
| {{Dokumentation/Unterseite|Vorlage:CoordinateComplex}}
| |
| {{Dokumentation}} | |