Aller au contenu

« Modèle:Pays test » : différence entre les versions

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 138 : Ligne 138 :
         }}
         }}
         <!-- Pays limitrophes -->
         <!-- Pays limitrophes -->
         {{#if:{{{Pays limitrophe 1|}}}|
         <table>
        <tr>
             {{#fornum:1|10|i|
            <th>Pays limitrophe·s</th>
                {{#if:{{{Pays limitrophe {{i}}|}}}|
             <td>{{{Pays limitrophe 1}}}</td>
                <tr>
        </tr>
                    <th></th>
        }}
                    <td>{{{Pays limitrophe {{i}}}}}</td>
        {{#if:{{{Pays limitrophe 2|}}}|
                </tr>
        <tr>
                }}
            <th></th>
             }}
            <td>{{{Pays limitrophe 2}}}</td>
         </table>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 3|}}}|
        <tr>
            <th></th>
            <td>{{{Pays limitrophe 3}}}</td>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 4|}}}|
        <tr>
            <th></th>
            <td>{{{Pays limitrophe 4}}}</td>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 5|}}}|
        <tr>
            <th></th>
            <td>{{{Pays limitrophe 5}}}</td>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 6|}}}|
        <tr>
            <th></th>
            <td>{{{Pays limitrophe 6}}}</td>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 7|}}}|
        <tr>
            <th></th>
            <td>{{{Pays limitrophe 7}}}</td>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 8|}}}|
        <tr>
            <th></th>
            <td>{{{Pays limitrophe 8}}}</td>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 9|}}}|
        <tr>
            <th></th>
            <td>{{{Pays limitrophe 9}}}</td>
        </tr>
        }}
        {{#if:{{{Pays limitrophe 10|}}}|
        <tr>
            <th></th>
             <td>{{{Pays limitrophe 10}}}</td>
         </tr>
        }}
     </table>
     </table>
     <!-- Map Section -->
     <!-- Map Section -->
Ligne 752 : Ligne 702 :


</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"Titre": {},
"Nom LO": {},
"Nom LO2": {},
"Nom LO3": {},
"Transcription": {},
"Drapeau": {},
"Drapeau Caption": {},
"Drapeau Caption (LO)": {},
"Écu": {},
"Écu Caption": {},
"Écu Caption (LO)": {},
"Sous Titre 1": {},
"Devise": {},
"Devise LO": {},
"Fête nationale date": {},
"Fête nationale Évènement": {},
"Hymne national": {},
"Hymne audio": {},
"Continent": {},
"Pays limitrophe 1": {},
"Pays limitrophe 2": {},
"Pays limitrophe 3": {},
"Pays limitrophe 4": {},
"Pays limitrophe 5": {},
"Pays limitrophe 6": {},
"Pays limitrophe 7": {},
"Pays limitrophe 8": {},
"Pays limitrophe 9": {},
"Pays limitrophe 10": {},
"Carte": {},
"Carte Caption": {},
"Sous Titre 2": {},
"Statut": {},
"Titre Dirigeant 1": {},
"Nom Dirigeant 1": {},
"Titre Dirigeant 2": {},
"Nom Dirigeant 2": {},
"Titre Dirigeant 3": {},
"Nom Dirigeant 3": {},
"Titre Dirigeant 4": {},
"Nom Dirigeant 4": {},
"Titre Dirigeant 5": {},
"Nom Dirigeant 5": {},
"Titre Dirigeant 6": {},
"Nom Dirigeant 6": {},
"Titre Dirigeant 7": {},
"Nom Dirigeant 7": {},
"Gouvernance": {},
"Capitale": {},
"Langue Officielle": {},
"Langue de Jure": {},
"Langue de Facto": {},
"Langue 3": {},
"Langue 4": {},
"Langue 5": {},
"Monnaie": {},
"Sous Titre 3": {},
"Ville Principale 1": {},
"Ville Principale 2": {},
"Ville Principale 3": {},
"Ville Principale 4": {},
"Ville Principale 5": {},
"Composition 1": {},
"Composition 2": {},
"Composition 3": {},
"Composition 4": {},
"Composition 5": {},
"Composition 6": {},
"Composition 7": {},
"Composition 8": {},
"Composition 9": {},
"Composition 10": {},
"Composition 11": {},
"Composition 12": {},
"Composition 13": {},
"Composition 14": {},
"Composition 15": {},
"Superficie": {},
"Sous Titre 4": {},
"Gentillé": {},
"Race 1": {},
"Race 2": {},
"Race 3": {},
"Race 4": {},
"Race 5": {},
"Race 6": {},
"Race 7": {},
"population": {},
"Sous Titre 5": {},
"Date 1": {},
"Évènement 1": {},
"Date 2": {},
"Évènement 2": {},
"Date 3": {},
"Évènement 3": {},
"Date 4": {},
"Évènement 4": {},
"Date 5": {},
"Évènement 5": {},
"Date 6": {},
"Évènement 6": {},
"Date 7": {},
"Évènement 7": {},
"Date 8": {},
"Évènement 8": {},
"Date 9": {},
"Évènement 9": {},
"Date 10": {},
"Évènement 10": {},
"Entité précédente 1": {},
"Entité suivante 1": {},
"Entité précédente 2": {},
"Entité précédente 3": {},
"Entité précédente 5": {},
"Entité précédente 6": {},
"Entité précédente 7": {},
"Entité précédente 9": {},
"Entité précédente 10": {},
"Entité précédente 4": {},
"Entité précédente 8": {},
"Entité suivante 2": {},
"Entité suivante 3": {},
"Entité suivante 5": {},
"Entité suivante 6": {},
"Entité suivante 7": {},
"Entité suivante 9": {},
"Entité suivante 10": {},
"Entité suivante 4": {},
"Entité suivante 8": {}
}
}
</templatedata>
</noinclude>

Version du 3 avril 2025 à 07:27

Pays test


<style>

   .slideshow-gallery {
       position: relative;
       width: 100%;
       max-width: 300px;
       margin: auto;
   }
   .slide {
       display: none;
       text-align: center;
   }
   .slide img {
       max-width: 100%;
       height: auto;
   }
   .infobox-LO {
       margin-top: 5px;
       font-size: 14px;
       color: #555;
   }

</style>

   <script>
       // Basic JavaScript for slideshow functionality
       document.addEventListener('DOMContentLoaded', function () {
           const slides = document.querySelectorAll('.slide');
           let currentSlide = 0;
   
           function showSlide(index) {
               slides.forEach((slide, i) => {
                   slide.style.display = i === index ? 'block' : 'none';
               });
           }
   
           function nextSlide() {
               currentSlide = (currentSlide + 1) % slides.length;
               showSlide(currentSlide);
           }
   
           // Initialize slideshow
           showSlide(currentSlide);
           setInterval(nextSlide, 5000); // Change slide every 5 seconds
       });
   </script>


{{#fornum:1|10|i| }}