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 style="width: 60%;float: right;overflow:hidden;">
+
--><div style="width: 60%;float: right;overflow:hidden; image-rendering: pixelated;">
<div style="transform-origin: top left; transform: scale(2);">
+
<div style="transform-origin: top left; transform: scale(2);height: {{#var:height}}px; width: {{#var:width}}px;">
 
<div style="transform: translate(-{{{x1}}}px, -{{{y1}}}px); width: {{{mapWidth}}}px; height: {{{mapHeight}}}px;">
 
<div style="transform: translate(-{{{x1}}}px, -{{{y1}}}px); width: {{{mapWidth}}}px; height: {{{mapHeight}}}px;">
 
[[File:MAP{{#var: map}}-1.png|link=]]</div></div>
 
[[File:MAP{{#var: map}}-1.png|link=]]</div></div>

Revision as of 04:42, 21 August 2020

<div style="transform-origin: top left; transform: scale(2);height: Expression error: Unrecognized punctuation character "{".px; width: Expression error: Unrecognized punctuation character "{".px;">

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