Difference between revisions of "UO:Atlas/Trammel/Dungeons/Deceit/Level 4"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <noinclude>{{#vardefine:scale| | + | <noinclude>{{#vardefine:scale|25}}</noinclude> |
{{#vardefine:topLeftX|5248}}<!-- | {{#vardefine:topLeftX|5248}}<!-- | ||
-->{{#vardefine:topLeftY|640}}<!-- | -->{{#vardefine:topLeftY|640}}<!-- | ||
Line 9: | Line 9: | ||
-->{{#vardefine:mapHeight|4096}}<!-- | -->{{#vardefine:mapHeight|4096}}<!-- | ||
-->{{#vardefine: map|1}} | -->{{#vardefine: map|1}} | ||
− | <div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="float:right;width: | + | <div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="float:right;width:35%;"><!-- |
--><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 03:13, 13 September 2016