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
 
(117 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;">
<!-- Carte -->
    {{#if:{{{Drapeau|}}}|<div class="infobox-center">[[File:{{{Drapeau}}}|x100px]]<br>Drapeau</div>}}
{{#if:{{{Carte|}}}|
    {{#if:{{{Écu|}}}|<div class="infobox-center">[[File:{{{Écu}}}|x100px]]<br>Écu</div>}}
<hr class="actoria_governorate">
</div>
<div class="infobox-center">
}}
{{#if: {{{Carte|}}} | <div>[[File:{{{Carte}}}|x200px]]<br>Carte</div> }}
{{#if:{{{Lecture héraldique|}}}|
</div>
<div class="infobox-center">{{{Lecture héraldique}}}</div>
}}
}}


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


{{#if: {{{Carte Vièrge|}}}|
<!-- Gouvernance -->
  <hr class="actoria_governorate">
{{#if:{{{Gouvernance|}}}|
  <div class="subheader subheader_actoria_governorate">Test</div>
<tr>
  <table style="width:100%;">
<th>Gouvernance</th>
    {{#if:{{{Carte Vièrge|}}}|<div class="infobox-center">[[File:{{{Drapeau}}}|x100px]]<br>Drapeau</div>}}
<td>{{{Gouvernance}}}</td>
      {{#if: {{{Devise|}}} |  
</tr>
          <tr>
}}
              <td><b>Devise</b></td>
<!-- Capitale -->
              <td>{{{Devise}}}</td>
{{#if:{{{Capitale|}}}|
          </tr>
<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>


<gallery mode="slideshow">
File:Carte Vièrge.png
File:Image2.png
File:Image3.png
</gallery>
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"Titre": {},
"Nom LO": {},
"Nom LO2": {},
"Nom LO3": {},
"Transcription": {},
"Drapeau": {},
"Écu": {},
"Lecture héraldique": {},
"Devise": {},
"Fête nationale": {},
"Hymne": {},
"Continent": {},
"Pays limitrophe·s": {},
"Date nationale": {},
"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 Vièrge": {}
}
}
</templatedata>
</noinclude>

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

Infobox country V2