Template:MapEmbed: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
{{#tag:html|
{{#tag:html|
<iframe
<iframe
   src="https://highlite.fanet.dev/map?hide_decor=true&amp;lvl={{{lvl|1}}}&amp;pos_x={{#expr:{{{xPos|0}}}+512.5}}&amp;pos_y={{#expr:{{{yPos|0}}}+512.5}}"
   src="https://highlite.fanet.dev/map?hide_decor=true&clean_view=true&amp;lvl={{#replace:{{{lvl|Overworld}}}|Underground|Underworld}}&pos_x={{#expr:{{{xPos|0}}}+512.5}}&pos_y={{#expr:{{{yPos|0}}}+512.5}}"
   style="width: {{{size|100%}}}; {{#if:{{{size|}}}|height: {{{size}}};|aspect-ratio: 1 / 1;}} border: none;"
   style="width: {{{size|100%}}}; {{#if:{{{size|}}}|height: {{{size}}};|aspect-ratio: 1 / 1;}} border: none;"
   loading="lazy">
   loading="lazy">