Format:MapCoords: Diferență între versiuni

[versiune neverificată][versiune neverificată]
Linia 1: Linia 1:
 
<!-- Format:MapCoords -->
 
<!-- Format:MapCoords -->
<div style="position: relative;">
+
<div style="position: relative; display: inline-block; width: auto; text-align: {{{align|center}}};">
     {{{image}}}
+
     <div style="position: relative; display: inline-block;">
 +
        {{{image}}} <!-- Image inclusion -->
  
    <!-- Point 1 -->
+
        <!-- Point 1 -->
    {{#if: {{{x1|}}}{{{y1|}}} |
+
        {{#if: {{{x1|}}}{{{y1|}}} |
    <div class="animated-point" style="top: {{{y1}}}px; left: {{{x1}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y1}}}px; left: {{{x1}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 2 -->
+
        <!-- Point 2 -->
    {{#if: {{{x2|}}}{{{y2|}}} |
+
        {{#if: {{{x2|}}}{{{y2|}}} |
    <div class="animated-point" style="top: {{{y2}}}px; left: {{{x2}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y2}}}px; left: {{{x2}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 3 -->
+
        <!-- Point 3 -->
    {{#if: {{{x3|}}}{{{y3|}}} |
+
        {{#if: {{{x3|}}}{{{y3|}}} |
    <div class="animated-point" style="top: {{{y3}}}px; left: {{{x3}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y3}}}px; left: {{{x3}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 4 -->
+
        <!-- Point 4 -->
    {{#if: {{{x4|}}}{{{y4|}}} |
+
        {{#if: {{{x4|}}}{{{y4|}}} |
    <div class="animated-point" style="top: {{{y4}}}px; left: {{{x4}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y4}}}px; left: {{{x4}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 5 -->
+
        <!-- Point 5 -->
    {{#if: {{{x5|}}}{{{y5|}}} |
+
        {{#if: {{{x5|}}}{{{y5|}}} |
    <div class="animated-point" style="top: {{{y5}}}px; left: {{{x5}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y5}}}px; left: {{{x5}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 6 -->
+
        <!-- Point 6 -->
    {{#if: {{{x6|}}}{{{y6|}}} |
+
        {{#if: {{{x6|}}}{{{y6|}}} |
    <div class="animated-point" style="top: {{{y6}}}px; left: {{{x6}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y6}}}px; left: {{{x6}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 7 -->
+
        <!-- Point 7 -->
    {{#if: {{{x7|}}}{{{y7|}}} |
+
        {{#if: {{{x7|}}}{{{y7|}}} |
    <div class="animated-point" style="top: {{{y7}}}px; left: {{{x7}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y7}}}px; left: {{{x7}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 8 -->
+
        <!-- Point 8 -->
    {{#if: {{{x8|}}}{{{y8|}}} |
+
        {{#if: {{{x8|}}}{{{y8|}}} |
    <div class="animated-point" style="top: {{{y8}}}px; left: {{{x8}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y8}}}px; left: {{{x8}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 9 -->
+
        <!-- Point 9 -->
    {{#if: {{{x9|}}}{{{y9|}}} |
+
        {{#if: {{{x9|}}}{{{y9|}}} |
    <div class="animated-point" style="top: {{{y9}}}px; left: {{{x9}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y9}}}px; left: {{{x9}}}px;"></div>
    }}
+
        }}
  
    <!-- Point 10 -->
+
        <!-- Point 10 -->
    {{#if: {{{x10|}}}{{{y10|}}} |
+
        {{#if: {{{x10|}}}{{{y10|}}} |
    <div class="animated-point" style="top: {{{y10}}}px; left: {{{x10}}}px;"></div>
+
        <div class="animated-point" style="top: {{{y10}}}px; left: {{{x10}}}px;"></div>
    }}
+
        }}
 +
    </div>
 
</div>
 
</div>

Versiunea de la data 27 septembrie 2024 17:20

       {{{image}}}