Template:Map: Difference between revisions

11 bytes removed ,  17 December 2024
Use data attributes instead of a hidden span
(Created page with "<div class="map" id="map"></div><span class="map-template-data" style="display: none;"><nowiki>{"location":</nowiki>{{{location}}}<nowiki>}</nowiki></span><noinclude>{{/doc}}</noinclude>")
 
(Use data attributes instead of a hidden span)
 
(8 intermediate revisions by the same user not shown)
Line 1:
<div class="map" id="map"></div><span class="map-template-data" style="displayheight: none{{{height|300px}}}; width: {{{width|300px}}};"><nowiki> data-type="{{{type}}}"location data-target=":</nowiki>{{{locationtarget}}}<nowiki">}</nowiki></spandiv><noinclude>{{/doc}}</noinclude>