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
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">
      {{#if:{{{Nom LO|}}}|<div class="infobox-LO">{{{Nom LO}}}</div>}}{{#if:{{{Nom LO2|}}}|<div class="infobox-LO">
            {{{Nom LO2}}}</div>}}{{#if:{{{Nom LO3|}}}|<div class="infobox-LO">{{{Nom LO3}}}
          {{{Nom LO2}}}</div>}}{{#if:{{{Nom LO3|}}}|<div class="infobox-LO">{{{Nom LO3}}}
        </div>}}{{#if:{{{Transcription|}}}|<div class="infobox-LO">{{{Transcription}}}</div>}}
      </div>}}{{#if:{{{Transcription|}}}|<div class="infobox-LO">{{{Transcription}}}</div>}}
    </div>
  </div>


<!-- Drapeau & Écu Section -->
<!-- Drapeau & Écu Section -->
{{#if:{{{Drapeau|}}}{{{Écu|}}}|
{{#if:{{{Drapeau|}}}{{{Écu|}}}|
<div class="infobox-center" style="display: flex; justify-content: center; align-items: center;">
<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:{{{Drapeau|}}}|<div class="infobox-center">[[File:{{{Drapeau}}}|x100px]]<br>Drapeau</div>}}
    {{#if:{{{Écu|}}}|<div class="infobox-center">[[File:{{{Écu}}}|x100px]]<br>Écu</div>}}
  {{#if:{{{Écu|}}}|<div class="infobox-center">[[File:{{{Écu}}}|x100px]]<br>Écu</div>}}
</div>
</div>
}}
}}
{{#if:{{{Lecture héraldique|}}}|
{{#if:{{{Lecture héraldique|}}}|
<div class="infobox-center">{{{Lecture héraldique}}}</div>
<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 -->
<!-- Subheader Section 1 : General info -->
{{#if: {{{Devise|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Pays limitrophe·s|}}} |
{{#if: {{{Devise|}}}{{{Fête nationale|}}}{{{Hymne|}}}{{{Continent|}}}{{{Pays limitrophe·s|}}} |
  <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: {{{Fête nationale|}}} |
          <tr>
          <tr>
              <td><b>Fête nationale</b></td>
              <td><b>Fête nationale</b></td>
              <td>{{{Fête nationale}}}</td>
              <td>{{{Fête nationale}}}</td>
          </tr>
          </tr>
          {{#if: {{{Date nationale|}}} |
          {{#if: {{{Date nationale|}}} |
              <tr>
              <tr>
                  <td><b></b></td>
                  <td><b></b></td>
                  <td>{{{Date nationale}}}</td>
                  <td>{{{Date nationale}}}</td>
              </tr>
              </tr>
          }}
          }}
      }}
      }}
      {{#if: {{{Hymne|}}} |  
      {{#if: {{{Hymne|}}} |  
          <tr>
          <tr>
              <td><b>Hymne</b></td>
              <td><b>Hymne</b></td>
              <td>{{{Hymne}}}</td>
              <td>{{{Hymne}}}</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Continent|}}} |  
      {{#if: {{{Continent|}}} |  
          <tr>
          <tr>
              <td><b>Continent</b></td>
              <td><b>Continent</b></td>
              <td>[[{{{Continent}}}]]</td>
              <td>[[{{{Continent}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 1|}}} |  
      {{#if: {{{Pays limitrophe 1|}}} |  
          <tr>
          <tr>
              <td><b>Pays limitrophe·s</b></td>
              <td><b>Pays limitrophe·s</b></td>
              <td>[[{{{Pays limitrophe 1}}}]]</td>
              <td>[[{{{Pays limitrophe 1}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 2|}}} |  
      {{#if: {{{Pays limitrophe 2|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 2}}}]]</td>
              <td>[[{{{Pays limitrophe 2}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 3|}}} |  
      {{#if: {{{Pays limitrophe 3|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 3}}}]]</td>
              <td>[[{{{Pays limitrophe 3}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 4|}}} |  
      {{#if: {{{Pays limitrophe 4|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 4}}}]]</td>
              <td>[[{{{Pays limitrophe 4}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 5|}}} |  
      {{#if: {{{Pays limitrophe 5|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 5}}}]]</td>
              <td>[[{{{Pays limitrophe 5}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 6|}}} |  
      {{#if: {{{Pays limitrophe 6|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 6}}}]]</td>
              <td>[[{{{Pays limitrophe 6}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 7|}}} |  
      {{#if: {{{Pays limitrophe 7|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 7}}}]]</td>
              <td>[[{{{Pays limitrophe 7}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 8|}}} |  
      {{#if: {{{Pays limitrophe 8|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 8}}}]]</td>
              <td>[[{{{Pays limitrophe 8}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 9|}}} |  
      {{#if: {{{Pays limitrophe 9|}}} |  
          <tr>
          <tr>
              <td></td>
              <td></td>
              <td>[[{{{Pays limitrophe 9}}}]]</td>
              <td>[[{{{Pays limitrophe 9}}}]]</td>
          </tr>
          </tr>
      }}
      }}
      {{#if: {{{Pays limitrophe 10|}}} |  
      {{#if: {{{Pays limitrophe 10|}}} |  
      <tr>
      <tr>
          <td></td>
          <td></td>
          <td>[[{{{Pays limitrophe 10}}}]]</td>
          <td>[[{{{Pays limitrophe 10}}}]]</td>
      </tr>
      </tr>
  }}
  }}
  </table>
  </table>
}}
}}
</div>
</div>
Ligne 121 : Ligne 124 :


<!-- Carte, Mappemonde & Globe Section -->
<!-- Carte, Mappemonde & Globe Section -->
{{#if:{{{Carte|}}}{{{Mappemonde|}}}{{{Globe|}}}|
{{#if:{{{Carte|}}}{{{Mappemonde|}}}{{{Globe|}}}{{{Mappeglobe|}}}|
  <hr class="actoria_governorate">
  <hr class="actoria_governorate">
  <div class="subheader subheader_actoria_governorate">
  <div class="subheader subheader_actoria_governorate">
<div class="infobox-center" style="display: flex; justify-content: center; align-items: center;">
<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:{{{Carte|}}}|<div class="infobox-center">[[File:{{{Carte}}}|x100px]]<br>Carte</div>}}
    {{#if:{{{Mappemonde|}}}|<div class="infobox-center">[[File:{{{Mappemonde}}}|x100px]]<br>Mappemonde</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:{{{Globe|}}}|<div class="infobox-center">[[File:{{{Globe}}}|x100px]]<br>Globe</div>}}
  {{#if:{{{Mappeglobe|}}}|<div class="infobox-center">[[File:{{{Mappeglobe}}}|x100px]]<br>Mappeglobe</div>}}
</div>
</div>
}}
}}

Version du 4 avril 2025 à 08:30

Infobox country V2