Template:Map: Difference between revisions

158 bytes removed ,  17 December 2024
Use data attributes instead of a hidden span
No edit summary
(Use data attributes instead of a hidden span)
 
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>