Template:Map: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Use data attributes instead of a hidden span)
 
Line 1: Line 1:
<div class="map" id="map" style="height: {{{height|300px}}}; width: {{{width|300px}}};" data-type="{{{type}}}" data-target="{{{target}}}"></div><span class="map-template-data" style="display: none;"><nowiki>{"type":"</nowiki>{{{type}}}<nowiki>","target":"</nowiki>{{{target}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude>
<div class="map" id="map" style="height: {{{height|300px}}}; width: {{{width|300px}}};" data-type="{{{type}}}" data-target="{{{target}}}"></div><noinclude>{{/doc}}</noinclude>