Format:MapCoords: Diferență între versiuni

[în așteptarea revizuirii][în așteptarea revizuirii]
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}}}|thumb]] <!-- Keep thumb but add a class for custom styling -->
+
         [[{{{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 * + 10px); left: calc({{{x1}}}px * 0.2929 + 37px);"></div>
+
         <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 + 10px); left: calc({{{x2}}}px + 37px);"></div>
+
         <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 19:53

       [[{{{image}}}|300px]]