Template:MapEmbed: Difference between revisions

No edit summary
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><div style="margin: 0px !important;">{{#tag:html|<iframe src="https://highspell.wiki/w/embed/map/?lvl={{#replace:{{{lvl|Overworld}}}|Underground|Underworld}}&pos_x={{#expr:{{{xPos|0}}}+0}}&pos_y={{#expr:{{{yPos|0}}}+0}}&zoom={{{zoom|0}}}{{#if:{{{marker|}}}|&marker={{{marker|}}}}}{{#if:{{{emoji|}}}|&emoji={{{emoji|}}}}}{{#if:{{{coords|}}}|&coords={{{coords|}}}}}{{#if:{{{spin|}}}|&spin=true}}{{#if:{{{outline|}}}|&outline=true}}{{#if:{{{glow|}}}|&glow=true}}{{#if:{{{clean|}}}|&clean=true}}{{#if:{{{simple|}}}|&simple=true}}{{#if:{{{locations|}}}|&locations=true}}" style="{{#if:{{{size|}}}|width: {{{size}}}; height: {{{size}}};|width: 100%; max-width: 1200px; aspect-ratio: 1 / 1;}} border: none; display: block;" loading="lazy"></iframe>}}</div></includeonly>
{{#tag:html|
<iframe
  src="https://highlite.fanet.dev/map?wikiMap=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;"
  loading="lazy">
</iframe>
}}
</includeonly>