Difference between revisions of "Template:UOAtlasHeader"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 11: | Line 11: | ||
-->{{#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; image-rendering: pixelated;"> | --><div style="width: 60%;float: right;overflow:hidden; image-rendering: pixelated;"> | ||
− | <div style="transform-origin: top left | + | <div style="transform-origin: top left; height: {{#expr:{{#var:height}} * 2}}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=|class=map]] | [[File:MAP{{#var: map}}-1.png|link=|class=map]] |