Format:MapCoords: Diferență între versiuni

[versiune neverificată][versiune neverificată]
Linia 5: Linia 5:
 
     <!-- Point 1 -->
 
     <!-- Point 1 -->
 
     {{#if: {{{x1|}}}{{{y1|}}} |
 
     {{#if: {{{x1|}}}{{{y1|}}} |
     <div class="animated-point" style="position: absolute; top: calc(7px + {{{y1}}}px / 1024 * 100); left: calc(36px + {{{x1}}}px / 1024 * 100);"></div>
+
     <div class="animated-point" style="position: absolute; top: calc(7px + {{{y1}}}px * 0.2929); left: calc(36px + {{{x1}}}px * 0.2929);"></div>
 
     }}
 
     }}
  
 
     <!-- Point 2 -->
 
     <!-- Point 2 -->
 
     {{#if: {{{x2|}}}{{{y2|}}} |
 
     {{#if: {{{x2|}}}{{{y2|}}} |
     <div class="animated-point" style="position: absolute; top: calc(7px + {{{y2}}}px / 1024 * 100); left: calc(36px + {{{x2}}}px / 1024 * 100);"></div>
+
     <div class="animated-point" style="position: absolute; top: calc(7px + {{{y2}}}px * 0.2929); left: calc(36px + {{{x2}}}px * 0.2929);"></div>
 
     }}
 
     }}
 
</div>
 
</div>

Versiunea de la data 27 septembrie 2024 19:53

   [[{{{image}}}|thumb]]