Difference between revisions of "Template:UOAtlasHeader"

m
m
Line 12: Line 12:
 
-->{{#vardefine:transformCSS|transform: translate(-{{{x1}}}px, -{{{y1}}}px);}}<!--
 
-->{{#vardefine:transformCSS|transform: translate(-{{{x1}}}px, -{{{y1}}}px);}}<!--
 
--><div style="--mapheight: {{#var:height}}px; --mapwidth: {{#var:width}}px; --scalemod: {{{scalemod|0}}}; float: right; image-rendering: pixelated; width: {{#var:width}}px; position:relative;" class="mapOuterDiv">
 
--><div style="--mapheight: {{#var:height}}px; --mapwidth: {{#var:width}}px; --scalemod: {{{scalemod|0}}}; float: right; image-rendering: pixelated; width: {{#var:width}}px; position:relative;" class="mapOuterDiv">
<div style="position:absolute; left: 0; top: 0; width: 100%; overflow: hidden; border-radius: 25px;"><div style="transform-origin: top left; width: {{#var:width}}px;" class="mapInnerDiv"><div style="transform: translate(-{{{x1}}}px, -{{{y1}}}px); width: {{{mapWidth}}}px; height: {{{mapHeight}}}px;">[[File:MAP{{#var: map}}-1.png|link=|class=map]]</div></div></div><div style="position:absolute; left: 0; top: 0; transform-origin: top left; overflow: hidden;" class="mapInnerDiv")><div style="{{#var:transformCSS}}">
+
<div style="position:absolute; left: 0; top: 0; width: 100%; overflow: hidden; border-radius: 25px;"><div style="transform-origin: top left; width: {{#var:width}}px;" class="mapInnerDiv"><div style="transform: translate(-{{{x1}}}px, -{{{y1}}}px); width: {{{mapWidth}}}px; height: {{{mapHeight}}}px;">[[File:MAP{{#var: map}}-1.png|link=|class=map]]</div></div></div><div style="position:absolute; left: 0; top: 0; transform-origin: top left; overflow: hidden; height: {{#expr: 5+{{#var:height}} }}px;" class="mapInnerDiv")><div style="{{#var:transformCSS}}">

Revision as of 01:32, 30 August 2020

<div style="--mapheight: Expression error: Unrecognized punctuation character "{".px; --mapwidth: Expression error: Unrecognized punctuation character "{".px; --scalemod: 0; float: right; image-rendering: pixelated; width: Expression error: Unrecognized punctuation character "{".px; position:relative;" class="mapOuterDiv">

<div style="transform-origin: top left; width: Expression error: Unrecognized punctuation character "{".px;" class="mapInnerDiv">
[[File:MAP{{{map}}}-1.png|link=|class=map]]

<div style="position:absolute; left: 0; top: 0; transform-origin: top left; overflow: hidden; height: Expression error: Unexpected < operator.px;" class="mapInnerDiv")>