Format:MapCoords: Diferență între versiuni
[versiune neverificată] | [versiune neverificată] |
Arkan (Discuție | contribuții) |
Arkan (Discuție | contribuții) |
||
Linia 2: | Linia 2: | ||
<div style="display: inline-block;"> <!-- Controls overall alignment --> | <div style="display: inline-block;"> <!-- Controls overall alignment --> | ||
<div style="position: relative"> <!-- Keeps the content centered --> | <div style="position: relative"> <!-- Keeps the content centered --> | ||
− | [[{{{image}}}| | + | [[{{{image}}}|300px]] <!-- Keep thumb but add a class for custom styling --> |
<!-- Point 1 --> | <!-- Point 1 --> | ||
{{#if: {{{x1|}}}{{{y1|}}} | | {{#if: {{{x1|}}}{{{y1|}}} | | ||
− | <div class="animated-point" style="position: absolute; top: calc({{{y1}}}px * | + | <div class="animated-point" style="position: absolute; top: calc({{{y1}}}px * 0.2929); left: calc({{{x1}}}px * 0.2929);"></div> |
}} | }} | ||
{{#if: {{{x2|}}}{{{y2|}}} | | {{#if: {{{x2|}}}{{{y2|}}} | | ||
− | <div class="animated-point" style="position: absolute; top: calc({{{y2}}}px | + | <div class="animated-point" style="position: absolute; top: calc({{{y2}}}px); left: calc({{{x2}}}px + 37px);"></div> |
}} | }} | ||
</div> | </div> | ||
</div> | </div> |
Versiunea de la data 27 septembrie 2024 18:53
[[{{{image}}}|300px]]