Difference between revisions of "Template:ShowOnMap"
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
(taken from german imedwiki, some translations) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>Link to focus map to coordinate. Needs javascript from [[Widget:ShowOnMap.js]]. |
− | + | ==Examples== | |
+ | |||
+ | <nowiki>{{ShowOnMap|Koordinaten=52.40655, 13.231831|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}}</nowiki> | ||
+ | |||
+ | Output: | ||
{{ShowOnMap|Koordinaten=52.40655, 13.231831|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}}</noinclude> | {{ShowOnMap|Koordinaten=52.40655, 13.231831|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}}</noinclude> | ||
Line 7: | Line 11: | ||
<nowiki>{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}}</nowiki> | <nowiki>{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}}</nowiki> | ||
− | + | Output: | |
{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}} | {{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}} | ||
Line 13: | Line 17: | ||
<nowiki>{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin|Text=Dorthin gehen}}</nowiki> | <nowiki>{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin|Text=Dorthin gehen}}</nowiki> | ||
− | + | Output: | |
{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin|Text=Dorthin gehen}} | {{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin|Text=Dorthin gehen}} | ||
Line 19: | Line 23: | ||
<nowiki>{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|Seite=Anthroposophische Medizin in Berlin}}</nowiki> | <nowiki>{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|Seite=Anthroposophische Medizin in Berlin}}</nowiki> | ||
− | + | Output: | |
{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|Seite=Anthroposophische Medizin in Berlin}} | {{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|Seite=Anthroposophische Medizin in Berlin}} | ||
+ | [[Category:Template]][[Category:Geoinformation]] | ||
<onlyinclude><includeonly><span class="Kartenlink">[[{{#if: {{{Seite|}}}|{{{Seite}}}|}}#{{{div id|}}}|{{#if: {{{Text|}}}|{{{Text|}}}|Show on map}}]] <span class="coords nodisplay">Coordinates: <span class="coordvalues">{{{Coordinates|}}}</span></span>{{#if: {{{div id|}}}||Missing parameter "div id"!}}</span></includeonly></onlyinclude> | <onlyinclude><includeonly><span class="Kartenlink">[[{{#if: {{{Seite|}}}|{{{Seite}}}|}}#{{{div id|}}}|{{#if: {{{Text|}}}|{{{Text|}}}|Show on map}}]] <span class="coords nodisplay">Coordinates: <span class="coordvalues">{{{Coordinates|}}}</span></span>{{#if: {{{div id|}}}||Missing parameter "div id"!}}</span></includeonly></onlyinclude> |
Latest revision as of 15:21, 13 January 2022
Link to focus map to coordinate. Needs javascript from Widget:ShowOnMap.js.
Examples
{{ShowOnMap|Koordinaten=52.40655, 13.231831|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}}
Output:
Show on map Coordinates:
{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin}}
Output:
Show on map Coordinates:
{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|div id=Karte1|Seite=Anthroposophische Medizin in Berlin|Text=Dorthin gehen}}
Output:
Dorthin gehen Coordinates:
{{ShowOnMap|Koordinaten=52° 24' 23.58" N, 13° 13' 54.59" E|Seite=Anthroposophische Medizin in Berlin}}
Output:
Show on map Coordinates: Missing parameter "div id"!