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 style="float: right; image-rendering: pixelated; height: {{#expr: 2.5 * {{#var:height}}}}px; width: {{#expr: 2.5 * {{#var:width}}}}px; overflow: hidden; border-radius: 25px; max-width: 100%;" class="mapOuterDiv"> | + | --><div style="--mapheight: {{#var:height}}; float: right; image-rendering: pixelated; height: {{#expr: 2.5 * {{#var:height}}}}px; width: {{#expr: 2.5 * {{#var:width}}}}px; overflow: hidden; border-radius: 25px; max-width: 100%;" class="mapOuterDiv"> |
− | <div style="transform-origin: top left | + | <div style="transform-origin: top left; width: {{#var:width}}px;" class="mapInnerDiv"><div style="transform: translate(-{{{x1}}}px, -{{{y1}}}px); width: {{{mapWidth}}}px; height: {{{mapHeight}}}px;">[[File:MAP{{#var: map}}-1.png|link=|class=map]] |
Revision as of 21:56, 23 August 2020
<div style="--mapheight: Expression error: Unrecognized punctuation character "{".; float: right; image-rendering: pixelated; height: Expression error: Unexpected < operator.px; width: Expression error: Unexpected < operator.px; overflow: hidden; border-radius: 25px; max-width: 100%;" class="mapOuterDiv">
<div style="transform-origin: top left; width: Expression error: Unrecognized punctuation character "{".px;" class="mapInnerDiv">
[[File:MAP{{{map}}}-1.png|link=|class=map]]