Format:MapCoords: Diferență între versiuni

[versiune neverificată][versiune neverificată]
Linia 1: Linia 1:
 
<!-- Format:MapCoords -->
 
<!-- Format:MapCoords -->
<div style="position: relative; display: inline-block; width: auto; text-align: {{{align|center}}};">
+
<div style="text-align: {{{align|center}}};"> <!-- This controls the overall alignment: left, right, or center -->
     <div>
+
     <div style="position: relative; display: inline-block;"> <!-- Inline-block keeps it centered in parent -->
 
         {{{image}}} <!-- Image inclusion -->
 
         {{{image}}} <!-- Image inclusion -->
  
 
         <!-- Point 1 -->
 
         <!-- Point 1 -->
 
         {{#if: {{{x1|}}}{{{y1|}}} |
 
         {{#if: {{{x1|}}}{{{y1|}}} |
         <div class="animated-point" style="position: relative; top: {{{y1}}}px; left: {{{x1}}}px;"></div>
+
         <div class="animated-point" style="top: {{{y1}}}px; left: {{{x1}}}px;"></div>
 
         }}
 
         }}
  

Versiunea de la data 27 septembrie 2024 17:44

       {{{image}}}