Difference between revisions of "UO:Atlas/Trammel/Dungeons/Destard/Level 2"
BrianFreud (talk | contribs) m |
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:49%;"><!-- | + | <div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="float:right;width:49%;"><!-- |
--><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 15:10, 12 September 2016