Difference between revisions of "UO:Atlas/Trammel/Dungeons/Deceit/Level 1"
BrianFreud (talk | contribs) (Created page with "<noinclude>{{#vardefine:scale|15}}</noinclude> {{#vardefine:topLeftX|5130}}<!-- -->{{#vardefine:topLeftY|521}}<!-- -->{{#vardefine:bottomRightX|5190}}<!-- -->{{#vardefine:bott...") |
BrianFreud (talk | contribs) m |
||
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:20%;"><!-- |
--><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><!-- |