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
 
(91 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>}}{{#if:{{{Nom LO2|}}}|<div class="infobox-LO">
<div class="infobox-center">
        {{{Nom LO2}}}</div>}}{{#if:{{{Nom LO3|}}}|<div class="infobox-LO">{{{Nom LO3}}}
{{#if: {{{Nom LO|}}} | {{{Nom LO}}}<br> }}
      </div>}}{{#if:{{{Transcription|}}}|<div class="infobox-LO">{{{Transcription}}}</div>}}
{{#if: {{{Nom LO2|}}} | {{{Nom LO2}}}<br> }}
  </div>
{{#if: {{{Nom LO3|}}} | {{{Nom LO3}}}<br> }}
{{#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; align-items: center;">
      {{#if:{{{Drapeau|}}}|<div class="infobox-center">[[File:{{{Drapeau}}}|x100px]]<br>Drapeau</div>}}
      {{#if:{{{Écu|}}}|<div class="infobox-center">[[File:{{{Écu}}}|x100px]]<br>Écu</div>}}
  </div>
  }}
  {{#if:{{{Lecture héraldique|}}}|<div class="infobox-center">{{{Lecture héraldique}}}</div>}}
  {{#if:{{{Lecture héraldique V.O.|}}}|<div class="infobox-center">{{{Lecture héraldique V.O.}}}</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>      }}
      }}
      <!-- 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><b>Pays limitrophe·s</b></td>
        <td><p>
            {{#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><p></td>
      </tr>
      }}
  <!-- Carte, Mappemonde & Globe Section -->
  {{#if:{{{Carte|}}}{{{Mappemonde|}}}{{{Globe|}}}{{{Mappeglobe|}}}|
  <hr class="actoria_governorate">
  <div class="subheader subheader_actoria_governorate">
      <div class="infobox-center" style="display: flex; justify-content: center; align-items: center;">
        {{#if:{{{Carte|}}}|<div class="infobox-center">[[File:{{{Carte}}}|x100px]]<br>Carte</div>}}
        {{#if:{{{Mappemonde|}}}|<div class="infobox-center">[[File:{{{Mappemonde}}}|x100px]]<br>Mappemonde</div>}}
        {{#if:{{{Globe|}}}|<div class="infobox-center">[[File:{{{Globe}}}|x100px]]<br>Globe</div>}}
        {{#if:{{{Mappeglobe|}}}|<div class="infobox-center">[[File:{{{Mappeglobe}}}|x100px]]<br>Mappeglobe</div>}}
      </div>
      }}


      <!-- Subheader Section 2 : General info -->
<!-- Carte -->
      {{#if: {{{Devise|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Pays limitrophe·s|}}} |
{{#if:{{{Carte|}}}|
      <hr class="actoria_governorate">
<hr class="actoria_governorate">
      <div class="subheader subheader_actoria_governorate">Administration</div>
<div class="infobox-center">
      <table style="width:100%;">
{{#if: {{{Carte|}}} | <div>[[File:{{{Carte}}}|x200px]]<br>Carte</div> }}
        }}
</div>
        <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>
            }}


<!-- Subheader Section 1 : General info -->
{{#if: {{{Devise|}}}{{{Devise V.O.|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Supérficie|}}}{{{Population|}}}|
<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: {{{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>




            <!-- Gouvernance -->
<!-- Carte, Mappemonde & Globe Section -->
            {{#if:{{{Gouvernance|}}}|
{{#if:{{{Carte|}}}{{{Mappemonde|}}}{{{Globe|}}}{{{Mappeglobe|}}}|
            <tr>
<hr class="actoria_governorate">
              <th>Gouvernance</th>
<div class="subheader subheader_actoria_governorate">Localisation</div>
              <td>{{{Gouvernance}}}</td>
<div class="infobox-center" ; align-items: center;>
            </tr>
{{#if: {{{Mappemonde|}}} | <div>[[File:{{{Mappemonde}}}|x100px]]<br><br>Mappemonde</div> }}
            }}
{{#if: {{{Globe|}}} | <div>[[File:{{{Globe}}}|x100px]]<br><br>Globe</div> }}
            <!-- Capitale -->
</div>
            {{#if:{{{Capitale|}}}|
}}
            <tr>
 
              <th>Capitale</th>
<!-- Subheader Section 2 : General info -->
              <td>{{{Capitale}}}</td>
{{#if: {{{Devise|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Pays limitrophe·s|}}} |
            </tr>
<hr class="actoria_governorate">
            }}
<div class="subheader subheader_actoria_governorate">Administration</div>
            <!-- Langues -->
<table style="width:100%;">
            {{#if:{{{Langue Officielle|}}}|
}}
            <tr>
<table class="infobox-table">
              <th>Langue Officielle</th>
<!-- Statut -->
              <td>{{{Langue Officielle}}}</td>
{{#if:{{{Statut|}}}|
            </tr>
<tr>
            }}
<th>Statut</th>
            {{#if:{{{Langue de Jure|}}}|
<td>{{{Statut}}}</td>
            <tr>
</tr>
              <th>Langue·s</th>
}}
              <td>{{{Langue de Jure}}} <i>(de Jure)</i></td>
<!-- Dirigeants -->
            </tr>
{{#if:{{{Titre Dirigeant 1|}}}|
            }}
<tr>
            {{#if:{{{Langue de Facto|}}}|
<th>{{{Titre Dirigeant 1}}}</th>
            <tr>
<td>[[{{{Nom Dirigeant 1}}}]]</td>
              <th></th>
</tr>
              <td>{{{Langue de Facto}}} <i>(de Facto)</i></td>
}}
            </tr>
<!-- Subsection : Dirigeants -->
            }}
{{#if: {{{Dirigeant 1|}}}{{{Dirigeant 2|}}}{{{Dirigeant 3|}}}{{{Dirigeant 4|}}}{{{Dirigeant 5|}}} |
            {{#if:{{{Langue 3|}}}|
<hr class="actoria_governorate">
            <tr>
<div class="subheader">Ancien·s Dirigeant·s</div>
              <th></th>
<tr>
              <td><i>{{{Langue 3}}}</i></td>
<td style="vertical-align: top; padding-top: 0;"><b>Ancien·s Dirigeant·s</b></td>
            </tr>
<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:{{{Langue 4|}}}|
{{#if: {{{Ancien·s Dirigeant·s 2|}}} | [[{{{Ancien·s Dirigeant·s 2}}}]]<br> }}
            <tr>
{{#if: {{{Ancien·s Dirigeant·s 3|}}} | [[{{{Ancien·s Dirigeant·s 3}}}]]<br> }}
              <th></th>
{{#if: {{{Ancien·s Dirigeant·s 4|}}} | [[{{{Ancien·s Dirigeant·s 4}}}]]<br> }}
              <td><i>{{{Langue 4}}}</i></td>
{{#if: {{{Ancien·s Dirigeant·s 5|}}} | [[{{{Ancien·s Dirigeant·s 5}}}]] }}
            </tr>
</td>
            }}
</tr>
            {{#if:{{{Langue 5|}}}|
}}
            <tr>
 
              <th></th>
 
              <td><i>{{{Langue 5}}}</i></td>
<!-- Gouvernance -->
            </tr>
{{#if:{{{Gouvernance|}}}|
            }}
<tr>
            <!-- Monnaie -->
<th>Gouvernance</th>
            {{#if:{{{Monnaie|}}}|
<td>{{{Gouvernance}}}</td>
            <tr>
</tr>
              <th>Monnaie</th>
}}
              <td>{{{Monnaie}}}</td>
<!-- Capitale -->
            </tr>
{{#if:{{{Capitale|}}}|
            }}
<tr>
        </table>
<th>Capitale</th>
      </div>
<td>{{{Capitale}}}</td>
<noinclude>
</tr>
<templatedata>
}}
{
<!-- Langues -->
"params": {
{{#if:{{{Langue Officielle|}}}|
"Titre": {},
<tr>
"Nom LO": {},
<th>Langue Officielle</th>
"Nom LO2": {},
<td>{{{Langue Officielle}}}</td>
"Nom LO3": {},
</tr>
"Transcription": {},
}}
"Drapeau": {},
{{#if:{{{Langue de Jure|}}}|
"Écu": {},
<tr>
"Lecture héraldique": {},
<th>Langue·s</th>
"Lecture héraldique V.O.": {},
<td>{{{Langue de Jure}}} <i>(de Jure)</i></td>
"Devise": {},
</tr>
"Fête nationale": {},
}}
"Hymne": {},
{{#if:{{{Langue de Facto|}}}|
"Continent": {},
<tr>
"Pays limitrophe·s": {},
<th></th>
"Date nationale": {},
<td>{{{Langue de Facto}}} <i>(de Facto)</i></td>
"Pays limitrophe 1": {},
</tr>
"Pays limitrophe 2": {},
}}
"Pays limitrophe 3": {},
{{#if:{{{Langue 3|}}}|
"Pays limitrophe 4": {},
<tr>
"Pays limitrophe 5": {},
<th></th>
"Pays limitrophe 6": {},
<td><i>{{{Langue 3}}}</i></td>
"Pays limitrophe 7": {},
</tr>
"Pays limitrophe 8": {},
}}
"Pays limitrophe 9": {},
{{#if:{{{Langue 4|}}}|
"Pays limitrophe 10": {},
<tr>
"Carte": {},
<th></th>
"Mappemonde": {},
<td><i>{{{Langue 4}}}</i></td>
"Globe": {},
</tr>
"Mappeglobe": {},
}}
"Statut": {},
{{#if:{{{Langue 5|}}}|
"Titre Dirigeant 1": {},
<tr>
"Nom Dirigeant 1": {},
<th></th>
"Gouvernance": {},
<td><i>{{{Langue 5}}}</i></td>
"Capitale": {},
</tr>
"Langue Officielle": {},
}}
"Langue de Jure": {},
<!-- Monnaie -->
"Langue de Facto": {},
{{#if:{{{Monnaie|}}}|
"Langue 3": {},
<tr>
"Langue 4": {},
<th>Monnaie</th>
"Langue 5": {},
<td>{{{Monnaie}}}</td>
"Monnaie": {}
</tr>
}
}}
}
</table>
</templatedata>
<div class="infobox-modifier">
</noinclude>
<hr class="actoria_governorate">
<p>
<span class="modifier">
[{{fullurl:{{FULLPAGENAME}}|action=edit}} {{#ifeq:{{FULLPAGENAME}}|{{FULLPAGENAMEE}}|modifier|{{ucfirst:modifier}}}}]
</span>
</p>
</div>
 
</div>

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

Infobox country V2