Difference between revisions of "Template:UOAtlasHeader"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 10: | Line 10: | ||
-->{{#vardefine: d|{{{x1}}}px}}<!-- | -->{{#vardefine: d|{{{x1}}}px}}<!-- | ||
-->{{#vardefine: clippath|inset({{#var: a}} {{#var: b}} {{#var: c}} {{#var: d}})}}<!-- | -->{{#vardefine: clippath|inset({{#var: a}} {{#var: b}} {{#var: c}} {{#var: d}})}}<!-- | ||
− | |||
--><div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="{{{style|width:{{{parentWidth}}}%;float:right;}}}"><!-- | --><div class="map-holder {{#if: {{#varexists:noscroll}}| noscroll}}" style="{{{style|width:{{{parentWidth}}}%;float:right;}}}"><!-- | ||
--><div style="display:inline-block;transform:scale({{#var:scale}}) translate(-{{{x1}}}px, -{{{y1}}}px);"><!-- | --><div style="display:inline-block;transform:scale({{#var:scale}}) translate(-{{{x1}}}px, -{{{y1}}}px);"><!-- | ||
--><div class="map" data-x1="{{{x1}}}" data-y1="{{{y1}}}" data-x2="{{{y2}}}" data-y2="{{{y2}}}" style="-webkit-clip-path: {{#var:clippath}};clip-path: {{#var:clippath}};">[[File:MAP{{#var: map}}-1.png|link=]]</div> | --><div class="map" data-x1="{{{x1}}}" data-y1="{{{y1}}}" data-x2="{{{y2}}}" data-y2="{{{y2}}}" style="-webkit-clip-path: {{#var:clippath}};clip-path: {{#var:clippath}};">[[File:MAP{{#var: map}}-1.png|link=]]</div> |
Revision as of 14:24, 31 August 2017
<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({{{y1}}}px Expression error: Unexpected < operator.px Expression error: Unexpected < operator.px {{{x1}}}px);">[[File:MAP{{{map}}}-1.png|link=]]