Difference between revisions of "Template:UOAtlasHeader"

m
m
Line 10: Line 10:
 
-->{{#vardefine: d|{{{x1}}}px}}<!--
 
-->{{#vardefine: d|{{{x1}}}px}}<!--
 
-->{{#vardefine: clippath|inset({{#var: a}} {{#var: b}} {{#var: c}} {{#var: d}})}}<!--
 
-->{{#vardefine: clippath|inset({{#var: a}} {{#var: b}} {{#var: c}} {{#var: d}})}}<!--
--><div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="{{{style|width:{{{parentWidth}}}%;float:right;}}}"><!--
+
--><div style="width: 60%;float: right;overflow:hidden;">
--><div style="transform:translate({{{x1}}}px, -{{{y1}}}px) scale({{#var:scale}});"><!--
+
<div style="transform: translate(-{{{x1}}}px, -{{{y1}}}px);">
--><div class="map" data-x1="{{{x1}}}" data-y1="{{{y1}}}" data-x2="{{{y2}}}" data-y2="{{{y2}}}">[[File:MAP{{#var: map}}-1.png|link=]]</div>
+
[[File:MAP{{#var: map}}-1.png|link=]]</div>

Revision as of 04:25, 21 August 2020

[[File:MAP{{{map}}}-1.png|link=]]