Difference between revisions of "Template:UOAtlasHeader"

(Created page with "-->{{#vardefine:scale|{{{scale}}}}}<!-- -->{{#vardefine:topLeftX|{{{x1}}}}}<!-- -->{{#vardefine:topLeftY|{{{y1}}}}}<!-- -->{{#vardefine:bottomRightX|{{{x2}}}}}<!-- -->{{#varde...")
 
m
Line 6: Line 6:
 
-->{{#vardefine:width|{{#expr: {{#var: bottomRightX}} - {{#var: topLeftX}} }}}}<!--
 
-->{{#vardefine:width|{{#expr: {{#var: bottomRightX}} - {{#var: topLeftX}} }}}}<!--
 
-->{{#vardefine:height|{{#expr: {{#var: bottomRightY}} - {{#var: topLeftY}} }}}}<!--
 
-->{{#vardefine:height|{{#expr: {{#var: bottomRightY}} - {{#var: topLeftY}} }}}}<!--
-->{{#vardefine:mapWidth|{{{mapwidth}}}}}<!--
+
-->{{#vardefine:mapWidth|{{{mapWidth}}}}}<!--
-->{{#vardefine:mapHeight|{{{mapheight}}}}}<!--
+
-->{{#vardefine:mapHeight|{{{mapHeight}}}}}<!--
 
-->{{#vardefine: map|{{{map}}}}}<!--
 
-->{{#vardefine: map|{{{map}}}}}<!--
--><div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="float:right;width:{{{parentwidth}}}%;"><!--
+
--><div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="float:right;width:{{{parentWidth}}}%;"><!--
 
--><div style="display:inline-block;transform:scale({{#var:scale}}) translate(-{{#var:topLeftX}}px, -{{#var:topLeftY}}px);"><!--
 
--><div style="display:inline-block;transform:scale({{#var:scale}}) translate(-{{#var:topLeftX}}px, -{{#var:topLeftY}}px);"><!--
 
--><div class="map" data-x1="{{#var:topLeftX}}" data-y1="{{#var:topLeftY}}" data-x2="{{#var:bottomRightY}}" data-y2="{{#var:bottomRightY}}" style="-webkit-clip-path: inset({{#var:topLeftY}}px {{#expr: {{#expr: {{#var:mapWidth}} - {{#var:topLeftX}} }} - {{#var:width}} }}px {{#expr: {{#expr: {{#var:mapHeight}} - {{#var:topLeftY}} }} - {{#var:height}} }}px {{#var:topLeftX}}px);clip-path: inset({{#var:topLeftX}}px {{#var:topLeftY}}px {{#var:width}}px {{#var:height}}px);">[[File:MAP{{#var: map}}-1.png|link=]]</div><!--
 
--><div class="map" data-x1="{{#var:topLeftX}}" data-y1="{{#var:topLeftY}}" data-x2="{{#var:bottomRightY}}" data-y2="{{#var:bottomRightY}}" style="-webkit-clip-path: inset({{#var:topLeftY}}px {{#expr: {{#expr: {{#var:mapWidth}} - {{#var:topLeftX}} }} - {{#var:width}} }}px {{#expr: {{#expr: {{#var:mapHeight}} - {{#var:topLeftY}} }} - {{#var:height}} }}px {{#var:topLeftX}}px);clip-path: inset({{#var:topLeftX}}px {{#var:topLeftY}}px {{#var:width}}px {{#var:height}}px);">[[File:MAP{{#var: map}}-1.png|link=]]</div><!--

Revision as of 14:37, 20 September 2016

-->

<div class="map" data-x1="{{{x1}}}" data-y1="{{{y1}}}" data-x2="{{{y2}}}" data-y2="{{{y2}}}" style="-webkit-clip-path: inset({{{y1}}}px Expression error: Unexpected < operator.px Expression error: Unexpected < operator.px {{{x1}}}px);clip-path: inset({{{x1}}}px {{{y1}}}px Expression error: Unrecognized punctuation character "{".px Expression error: Unrecognized punctuation character "{".px);">[[File:MAP{{{map}}}-1.png|link=]]