Aller au contenu

« Modèle:Infobox country V2 » : différence entre les versions

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
 
(57 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<div class="infobox">
<div class="infobox">
  <!-- Header with Title -->
<!-- Header with Title -->
  <div class="header header_actoria_governorate">
<div class="header header_actoria_governorate">
      <p>{{{Titre|{{PAGENAME}}}}}</p>
<p>{{{Titre|{{PAGENAME}}}}}</p>
      <!-- Optional Fields for Names and Transcriptions -->
<!-- Optional Fields for Names and Transcriptions -->
      {{#if: {{{Nom LO|}}} | <div class="infobox-LO">{{{Nom LO}}}</div> }}
<div class="infobox-center">
      {{#if: {{{Nom LO2|}}} | <div class="infobox-LO">{{{Nom LO2}}}</div> }}
{{#if: {{{Nom LO|}}} | {{{Nom LO}}}<br> }}
      {{#if: {{{Nom LO3|}}} | <div class="infobox-LO">{{{Nom LO3}}}</div> }}
{{#if: {{{Nom LO2|}}} | {{{Nom LO2}}}<br> }}
      {{#if: {{{Transcription|}}} | <div class="infobox-LO">{{{Transcription}}}</div> }}
{{#if: {{{Nom LO3|}}} | {{{Nom LO3}}}<br> }}
  </div>
{{#if: {{{Transcription|}}} | {{{Transcription}}} }}
</div>
</div><br>
<!-- Drapeau & Écu Section -->
{{#if: {{{Drapeau|}}}{{{Écu|}}}{{{Lecture héraldique|}}}{{{Lecture héraldique V.O.|}}} |
<div class="infobox-center" style="display: flex; justify-content: center; gap: 10px; align-items: center;">
{{#if: {{{Drapeau|}}} | <div>[[File:{{{Drapeau}}}|x100px]]<br>Drapeau</div> }}
{{#if: {{{Écu|}}} | <div>[[File:{{{Écu}}}|x100px]]<br>Écu</div> }}
</div>
<div class="infobox-center">
{{#if: {{{Lecture héraldique|}}} | <div><i>{{{Lecture héraldique}}}<br></i>Lecture héraldique</div> }}
{{#if: {{{Lecture héraldique V.O.|}}} | <div><i>{{{Lecture héraldique V.O.}}}<br></i>V.O.</div> }}
</div>
}}


  <!-- Drapeau & Écu Section -->
 
  {{#if: {{{Drapeau|}}}{{{Écu|}}} |
 
  <div class="infobox-center" style="display: flex; justify-content: center; gap: 10px; align-items: center;">
<!-- Carte -->
      {{#if: {{{Drapeau|}}} | <div>[[File:{{{Drapeau}}}|x100px]]<br><br>Drapeau</div> }}
{{#if:{{{Carte|}}}|
      {{#if: {{{Écu|}}} | <div>[[File:{{{Écu}}}|x100px]]<br><br>Écu</div> }}
<hr class="actoria_governorate">
  </div>
<div class="infobox-center">
  {{#if: {{{Lecture héraldique|}}} | <div class="infobox-center"><i>{{{Lecture héraldique}}}<br></i>Lecture héraldique</div> }}
{{#if: {{{Carte|}}} | <div>[[File:{{{Carte}}}|x200px]]<br>Carte</div> }}
  {{#if: {{{Lecture héraldique V.O.|}}} | <div class="infobox-center"><i>{{{Lecture héraldique V.O.}}}<br></i>V.O.</div> }}
</div>
}}
<!-- Subheader Section 1 : General info -->
{{#if: {{{Devise|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Pays limitrophe·s|}}} |
<hr class="actoria_governorate">
<div class="subheader subheader_actoria_governorate">Informations générales</div>
<table style="width:100%;">
  {{#if: {{{Devise|}}} |
  <tr>
      <td><b>Devise</b></td>
      <td>{{{Devise}}}</td>
  </tr>
  }}
  {{#if: {{{Fête nationale|}}} |
  <tr>
      <td><b>Fête nationale</b></td>
      <td>{{{Fête nationale}}}</td>
  </tr>
  }}
  {{#if: {{{Date nationale|}}} |
  <tr>
      <td><b></b></td>
      <td>{{{Date nationale}}}</td>
  </tr>
  }}
  {{#if: {{{Hymne|}}} |
  <tr>
      <td><b>Hymne</b></td>
      <td>{{{Hymne}}}</td>
  </tr>
  }}
  {{#if: {{{Continent|}}} |
  <tr>
      <td><b>Continent</b></td>
      <td>[[{{{Continent}}}]]</td>
  </tr>
  }}
  {{#if: {{{Superficie|}}} |
  <tr>
      <td><b>Superficie</b></td>
      <td>{{{Superficie}}}</td>
  </tr>
  }}
  {{#if: {{{Population|}}} |
  <tr>
      <td><b>Population</b></td>
      <td>{{{Population}}}</td>
  </tr>
  }}
  {{#if: {{{Densité|}}} |
  <tr>
      <td><b>Densité</b></td>
      <td>{{{Densité}}}</td>
  </tr>
  }}
<!-- Subsection : Pays Limitrophes -->
{{#if: {{{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|}}} |
<tr>
  <td style="vertical-align: top; padding-top: 0;"><b>Pays limitrophe·s</b></td>
  <td style="vertical-align: top; padding-top: 0;">
      <p style="margin: 0;">{{#if: {{{Pays limitrophe 1|}}} | [[{{{Pays limitrophe 1}}}]]<br> }}
      {{#if: {{{Pays limitrophe 2|}}} | [[{{{Pays limitrophe 2}}}]]<br> }}
      {{#if: {{{Pays limitrophe 3|}}} | [[{{{Pays limitrophe 3}}}]]<br> }}
      {{#if: {{{Pays limitrophe 4|}}} | [[{{{Pays limitrophe 4}}}]]<br> }}
      {{#if: {{{Pays limitrophe 5|}}} | [[{{{Pays limitrophe 5}}}]]<br> }}
      {{#if: {{{Pays limitrophe 6|}}} | [[{{{Pays limitrophe 6}}}]]<br> }}
      {{#if: {{{Pays limitrophe 7|}}} | [[{{{Pays limitrophe 7}}}]]<br> }}
      {{#if: {{{Pays limitrophe 8|}}} | [[{{{Pays limitrophe 8}}}]]<br> }}
      {{#if: {{{Pays limitrophe 9|}}} | [[{{{Pays limitrophe 9}}}]]<br> }}
      {{#if: {{{Pays limitrophe 10|}}} | [[{{{Pays limitrophe 10}}}]] }}
  </td>
</tr>
}}
</table>
}}
}}


<!-- Carte, Mappemonde & Globe Section -->
<!-- Subheader Section 1 : General info -->
{{#if:{{{Carte|}}}{{{Mappemonde|}}}{{{Globe|}}}{{{Mappeglobe|}}}|
{{#if: {{{Devise|}}}{{{Devise V.O.|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Supérficie|}}}{{{Population|}}}|
<hr class="actoria_governorate">
<hr class="actoria_governorate">
<div class="subheader subheader_actoria_governorate">Cartes</div>
<div class="subheader subheader_actoria_governorate">Informations générales</div>
<div class="infobox-center" style="display: flex; justify-content: center; align-items: center;">
<table style="width:100%;">
  <gallery mode="slideshow">
{{#if: {{{Devise|}}} |
      {{#if:{{{Carte|}}}|File:{{{Carte}}}|Carte}}
<tr>
      {{#if:{{{Mappemonde|}}}|File:{{{Mappemonde}}}|Mappemonde}}
<td><b>Devise</b></td>
      {{#if:{{{Globe|}}}|File:{{{Globe}}}|Globe}}
<td>{{{Devise}}}</td>
      {{#if:{{{Mappeglobe|}}}|File:{{{Mappeglobe}}}|Mappeglobe}}
</tr>
  </gallery>
}}
{{#if: {{{Devise V.O.|}}} | <div class="infobox-center"><i>{{{Devise V.O.}}}<br></i>V.O.
</div> }}
}}
{{#if: {{{Fête nationale|}}} |
<tr>
<td><b>Fête nationale</b></td>
<td>{{{Fête nationale}}}</td>
</tr>
}}
{{#if: {{{Date nationale|}}} |
<tr>
<td><b></b></td>
<td>{{{Date nationale}}}</td>
</tr>
}}
{{#if: {{{Hymne|}}} |
<tr>
<td><b>Hymne</b></td>
<td>{{{Hymne}}}</td>
</tr>
}}
{{#if: {{{Continent|}}} |
<tr>
<td><b>Continent</b></td>
<td>[[{{{Continent}}}]]</td>
</tr>
}}
{{#if: {{{Superficie|}}} |
<tr>
<td><b>Superficie</b></td>
<td>{{{Superficie}}}</td>
</tr>
}}
{{#if: {{{Population|}}} |
<tr>
<td><b>Population</b></td>
<td>{{{Population}}}</td>
</tr>
}}
{{#if: {{{Densité|}}} |
<tr>
<td><b>Densité</b></td>
<td>{{{Densité}}}</td>
</tr>
}}
<!-- Subsection : Pays Limitrophes -->
{{#if: {{{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|}}} |
<tr>
<td style="vertical-align: top; padding-top: 0;"><b>Pays limitrophe·s</b></td>
<td style="vertical-align: top; padding-top: 0;">
<p style="margin: 0;">{{#if: {{{Pays limitrophe 1|}}} | [[{{{Pays limitrophe 1}}}]]<br> }}
{{#if: {{{Pays limitrophe 2|}}} | [[{{{Pays limitrophe 2}}}]]<br> }}
{{#if: {{{Pays limitrophe 3|}}} | [[{{{Pays limitrophe 3}}}]]<br> }}
{{#if: {{{Pays limitrophe 4|}}} | [[{{{Pays limitrophe 4}}}]]<br> }}
{{#if: {{{Pays limitrophe 5|}}} | [[{{{Pays limitrophe 5}}}]]<br> }}
{{#if: {{{Pays limitrophe 6|}}} | [[{{{Pays limitrophe 6}}}]]<br> }}
{{#if: {{{Pays limitrophe 7|}}} | [[{{{Pays limitrophe 7}}}]]<br> }}
{{#if: {{{Pays limitrophe 8|}}} | [[{{{Pays limitrophe 8}}}]]<br> }}
{{#if: {{{Pays limitrophe 9|}}} | [[{{{Pays limitrophe 9}}}]]<br> }}
{{#if: {{{Pays limitrophe 10|}}} | [[{{{Pays limitrophe 10}}}]] }}
</p>
</td>
</tr>
}}
</table>
 
 
<!-- Carte, Mappemonde & Globe Section -->
{{#if:{{{Carte|}}}{{{Mappemonde|}}}{{{Globe|}}}{{{Mappeglobe|}}}|
<hr class="actoria_governorate">
<div class="subheader subheader_actoria_governorate">Localisation</div>
<div class="infobox-center" ; align-items: center;>
{{#if: {{{Mappemonde|}}} | <div>[[File:{{{Mappemonde}}}|x100px]]<br><br>Mappemonde</div> }}
{{#if: {{{Globe|}}} | <div>[[File:{{{Globe}}}|x100px]]<br><br>Globe</div> }}
</div>
}}
 
<!-- Subheader Section 2 : General info -->
{{#if: {{{Devise|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Pays limitrophe·s|}}} |
<hr class="actoria_governorate">
<div class="subheader subheader_actoria_governorate">Administration</div>
<table style="width:100%;">
}}
<table class="infobox-table">
<!-- Statut -->
{{#if:{{{Statut|}}}|
<tr>
<th>Statut</th>
<td>{{{Statut}}}</td>
</tr>
}}
<!-- Dirigeants -->
{{#if:{{{Titre Dirigeant 1|}}}|
<tr>
<th>{{{Titre Dirigeant 1}}}</th>
<td>[[{{{Nom Dirigeant 1}}}]]</td>
</tr>
}}
<!-- Subsection : Dirigeants -->
{{#if: {{{Dirigeant 1|}}}{{{Dirigeant 2|}}}{{{Dirigeant 3|}}}{{{Dirigeant 4|}}}{{{Dirigeant 5|}}} |
<hr class="actoria_governorate">
<div class="subheader">Ancien·s Dirigeant·s</div>
<tr>
<td style="vertical-align: top; padding-top: 0;"><b>Ancien·s Dirigeant·s</b></td>
<td style="vertical-align: top; padding-top: 0;">
<p style="margin: 0;">{{#if: {{{Ancien·s Dirigeant·s 1|}}} | [[{{{Ancien·s Dirigeant·s 1}}}]]<br> }}
{{#if: {{{Ancien·s Dirigeant·s 2|}}} | [[{{{Ancien·s Dirigeant·s 2}}}]]<br> }}
{{#if: {{{Ancien·s Dirigeant·s 3|}}} | [[{{{Ancien·s Dirigeant·s 3}}}]]<br> }}
{{#if: {{{Ancien·s Dirigeant·s 4|}}} | [[{{{Ancien·s Dirigeant·s 4}}}]]<br> }}
{{#if: {{{Ancien·s Dirigeant·s 5|}}} | [[{{{Ancien·s Dirigeant·s 5}}}]] }}
</td>
</tr>
}}
 
 
<!-- Gouvernance -->
{{#if:{{{Gouvernance|}}}|
<tr>
<th>Gouvernance</th>
<td>{{{Gouvernance}}}</td>
</tr>
}}
<!-- Capitale -->
{{#if:{{{Capitale|}}}|
<tr>
<th>Capitale</th>
<td>{{{Capitale}}}</td>
</tr>
}}
<!-- Langues -->
{{#if:{{{Langue Officielle|}}}|
<tr>
<th>Langue Officielle</th>
<td>{{{Langue Officielle}}}</td>
</tr>
}}
{{#if:{{{Langue de Jure|}}}|
<tr>
<th>Langue·s</th>
<td>{{{Langue de Jure}}} <i>(de Jure)</i></td>
</tr>
}}
{{#if:{{{Langue de Facto|}}}|
<tr>
<th></th>
<td>{{{Langue de Facto}}} <i>(de Facto)</i></td>
</tr>
}}
{{#if:{{{Langue 3|}}}|
<tr>
<th></th>
<td><i>{{{Langue 3}}}</i></td>
</tr>
}}
{{#if:{{{Langue 4|}}}|
<tr>
<th></th>
<td><i>{{{Langue 4}}}</i></td>
</tr>
}}
{{#if:{{{Langue 5|}}}|
<tr>
<th></th>
<td><i>{{{Langue 5}}}</i></td>
</tr>
}}
<!-- Monnaie -->
{{#if:{{{Monnaie|}}}|
<tr>
<th>Monnaie</th>
<td>{{{Monnaie}}}</td>
</tr>
}}
</table>
<div class="infobox-modifier">
<hr class="actoria_governorate">
<p>
<span class="modifier">
[{{fullurl:{{FULLPAGENAME}}|action=edit}} {{#ifeq:{{FULLPAGENAME}}|{{FULLPAGENAMEE}}|modifier|{{ucfirst:modifier}}}}]
</span>
</p>
</div>
</div>
}}


      <!-- Subheader Section 2 : General info -->
</div>
      {{#if: {{{Devise|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Pays limitrophe·s|}}} |
      <hr class="actoria_governorate">
      <div class="subheader subheader_actoria_governorate">Administration</div>
      <table style="width:100%;">
        }}
        <table class="infobox-table">
            <!-- Statut -->
            {{#if:{{{Statut|}}}|
            <tr>
              <th>Statut</th>
              <td>{{{Statut}}}</td>
            </tr>
            }}
            <!-- Dirigeants -->
            {{#if:{{{Titre Dirigeant 1|}}}|
            <tr>
              <th>{{{Titre Dirigeant 1}}}</th>
              <td>[[{{{Nom Dirigeant 1}}}]]</td>
            </tr>
            }}
<!-- Subsection : Dirigeants -->
{{#if: {{{Dirigeant 1|}}}{{{Dirigeant 2|}}}{{{Dirigeant 3|}}}{{{Dirigeant 4|}}}{{{Dirigeant 5|}}} |
<hr class="actoria_governorate">
<div class="subheader">Ancien·s Dirigeant·s</div>
<tr>
  <td style="vertical-align: top; padding-top: 0;"><b>Ancien·s Dirigeant·s</b></td>
  <td style="vertical-align: top; padding-top: 0;">
      <p style="margin: 0;">{{#if: {{{Ancien·s Dirigeant·s 1|}}} | [[{{{Ancien·s Dirigeant·s 1}}}]]<br> }}
      {{#if: {{{Ancien·s Dirigeant·s 2|}}} | [[{{{Ancien·s Dirigeant·s 2}}}]]<br> }}
      {{#if: {{{Ancien·s Dirigeant·s 3|}}} | [[{{{Ancien·s Dirigeant·s 3}}}]]<br> }}
      {{#if: {{{Ancien·s Dirigeant·s 4|}}} | [[{{{Ancien·s Dirigeant·s 4}}}]]<br> }}
      {{#if: {{{Ancien·s Dirigeant·s 5|}}} | [[{{{Ancien·s Dirigeant·s 5}}}]] }}
  </td>
</tr>
}}
}}
 
            <!-- Gouvernance -->
            {{#if:{{{Gouvernance|}}}|
            <tr>
              <th>Gouvernance</th>
              <td>{{{Gouvernance}}}</td>
            </tr>
            }}
            <!-- Capitale -->
            {{#if:{{{Capitale|}}}|
            <tr>
              <th>Capitale</th>
              <td>{{{Capitale}}}</td>
            </tr>
            }}
            <!-- Langues -->
            {{#if:{{{Langue Officielle|}}}|
            <tr>
              <th>Langue Officielle</th>
              <td>{{{Langue Officielle}}}</td>
            </tr>
            }}
            {{#if:{{{Langue de Jure|}}}|
            <tr>
              <th>Langue·s</th>
              <td>{{{Langue de Jure}}} <i>(de Jure)</i></td>
            </tr>
            }}
            {{#if:{{{Langue de Facto|}}}|
            <tr>
              <th></th>
              <td>{{{Langue de Facto}}} <i>(de Facto)</i></td>
            </tr>
            }}
            {{#if:{{{Langue 3|}}}|
            <tr>
              <th></th>
              <td><i>{{{Langue 3}}}</i></td>
            </tr>
            }}
            {{#if:{{{Langue 4|}}}|
            <tr>
              <th></th>
              <td><i>{{{Langue 4}}}</i></td>
            </tr>
            }}
            {{#if:{{{Langue 5|}}}|
            <tr>
              <th></th>
              <td><i>{{{Langue 5}}}</i></td>
            </tr>
            }}
            <!-- Monnaie -->
            {{#if:{{{Monnaie|}}}|
            <tr>
              <th>Monnaie</th>
              <td>{{{Monnaie}}}</td>
            </tr>
            }}
        </table>
      </div>

Dernière version du 23 mai 2025 à 16:07

Infobox country V2