Difference between revisions of "Template:ShowOnMap"

From imedwiki
Jump to navigation Jump to search
[checked revision][checked revision]
(move nowiki tag to the right place)
 
Line 27: Line 27:
 
{{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"!