Format:MapCoords: Diferență între versiuni
[versiune neverificată] | [versiune neverificată] |
Arkan (Discuție | contribuții) |
Arkan (Discuție | contribuții) |
||
Linia 1: | Linia 1: | ||
<div style="display: inline-block; position: relative;"> <!-- Centering and relative positioning --> | <div style="display: inline-block; position: relative;"> <!-- Centering and relative positioning --> | ||
<!-- Original wiki-style image format --> | <!-- Original wiki-style image format --> | ||
− | [[{{{image}}}|thumb | + | [[{{{image}}}|thumb]] |
<!-- Point 1 --> | <!-- Point 1 --> | ||
{{#if: {{{x1|}}}{{{y1|}}} | | {{#if: {{{x1|}}}{{{y1|}}} | | ||
− | {{#ifexpr: {{{width}}} > 300 | + | {{#ifexpr: {{{width}}}>300 |
|<div class="animated-point" style="position: absolute; top: calc(7px + {{{y1}}}px * 300/{{{width}}}); left: calc(37px + {{{x1}}}px * 300/{{{width}}});"></div> | |<div class="animated-point" style="position: absolute; top: calc(7px + {{{y1}}}px * 300/{{{width}}}); left: calc(37px + {{{x1}}}px * 300/{{{width}}});"></div> | ||
|<div class="animated-point" style="position: absolute; top: calc(7px + {{{y1}}}px); left: calc(37px + {{{x1}}}px);"></div> | |<div class="animated-point" style="position: absolute; top: calc(7px + {{{y1}}}px); left: calc(37px + {{{x1}}}px);"></div> |
Versiunea de la data 27 septembrie 2024 20:27
[[{{{image}}}|thumb]]