Template:MapLightbox: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#tag:html|<div class="fslightbox-wrapper"><a data-fslightbox="lightbox" href="#mapbox-x{{{xPos}}}-y{{{yPos}}}">{{{label|[[File:World.png|link=]] View map}}}</a><iframe id="mapbox-x{{{xPos}}}-y{{{yPos}}}" src="https://highlite.fanet.dev/map?hide_decor=true&clean_view=true&amp;lvl={{{lvl|1}}}&amp;pos_x={{#expr:{{{xPos|0}}}+512.5}}&amp;pos_y={{#expr:{{{yPos|0}}}+512.5}}" width="1920" height="1080" frameborder="0" allow="autoplay; fullscreen" allowfullscreen data-fslightbox-target></iframe></div>|parse=yes}}</includeonly>
<includeonly>{{#tag:html|<div class="fslightbox-wrapper"><a data-fslightbox="lightbox" href="#mapbox-x{{{xPos}}}-y{{{yPos}}}">{{{label|<img src="/w/images/3/39/World.png" alt="Map Icon" style="height:1em; vertical-align:middle; margin-right:0.3em;"> View map}}}</a><iframe id="mapbox-x{{{xPos}}}-y{{{yPos}}}" src="https://highlite.fanet.dev/map?hide_decor=true&clean_view=true&amp;lvl={{{lvl|1}}}&amp;pos_x={{#expr:{{{xPos|0}}}+512.5}}&amp;pos_y={{#expr:{{{yPos|0}}}+512.5}}" width="1920" height="1080" frameborder="0" allow="autoplay; fullscreen" allowfullscreen data-fslightbox-target></iframe></div>|parse=yes}}</includeonly>

Revision as of 08:29, 12 June 2025