Aller au contenu

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

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
 
(40 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<div class="infobox">
<!-- Outer wrapper -->
    <!-- Header with Title -->
<div class="infobox"
    <div class="header header_enemy">
  style="width: 22em; font-size: 90%; line-height: 1.5em; border: 1px solid #000000; float: right; clear: right; margin: 0 0 1em 1em;">
        <p>{{{Titre|{{PAGENAME}}}}}</p>
  <!-- Header with Title and Names/Transcriptions -->
        <!-- Optional Fields for Names and Transcriptions -->
  <div class="header header_enemy" style="background-color: #ba1b7d; padding: 0.5em; text-align: center;">
        {{#if:{{{Nom LO1|}}}{{{Nom LO2|}}}{{{Nom LO3|}}}{{{Transcription|}}}|
    <p style="font-size: 125%; font-weight: bold;">{{{Titre|{{PAGENAME}}}}}</p>
        <div class="infobox-center auto-wrap">
    <!-- Optional fields for local names or transliterations -->
            <p>{{{Nom LO1|}}}</p>
    {{#if:{{{Nom LO1|}}}{{{Nom LO2|}}}{{{Nom LO3|}}}{{{Transcription|}}}|
            <p>{{{Nom LO2|}}}</p>
    <div class="infobox-center auto-wrap" style="margin-top: 0.5em; font-size: 90%;">
            <p>{{{Nom LO3|}}}</p>
      {{#if:{{{Nom LO1|}}}|<p>{{{Nom LO1}}}</p>}}
            <p>{{{Transcription|}}}</p>
      {{#if:{{{Nom LO2|}}}|<p>{{{Nom LO2}}}</p>}}
        </div>
      {{#if:{{{Nom LO3|}}}|<p>{{{Nom LO3}}}</p>}}
        }}
      {{#if:{{{Transcription|}}}|<p>{{{Transcription}}}</p>}}
     </div>
     </div>
    }}
  </div>
  <!-- Optional fields for local names or transliterations -->
  {{#if:{{{Portrait|}}}|
  <div class="infobox-center">[[File:{{{Portrait}}}|250px]]<p style="font-size: 125%; font-weight: bold;">Portrait</div>
  }}


    <!-- Portrait Section -->
<!-- Conditional Subheader + Table for Nicknames -->
    {{#if: {{{Portrait|}}}|
{{#if: {{{Surnom 1|}}}{{{Surnom 2|}}}{{{Surnom 3|}}}{{{Surnom 4|}}}{{{Surnom 5|}}}{{{Surnom 6|}}}{{{Surnom 7|}}}{{{Surnom 8|}}}{{{Surnom 9|}}}{{{Surnom 10|}}}|
    <div class="infobox-center" style="display: flex; justify-content: center; gap: 10px; align-items: center;">
<div class="subheader subheader_enemy">Informations générales</div>
        <div>[[File:{{{Portrait}}}|x250px]]<br>Portrait</div> }}
<table style="width: 100%; margin-bottom: 0.5em;">
    </div>
  <tr>
    <th style="vertical-align: top; padding-top: 0.2em; width: 30%; text-align: left;">Surnom·s</th>
    <td style="vertical-align: top; padding-top: 0.2em;"><p style="margin: 0;">
      {{#if: {{{Surnom 1|}}} | [[{{{Surnom 1}}}]] }}
      {{#if: {{{Surnom 2|}}} | [[{{{Surnom 2}}}]] }}
      {{#if: {{{Surnom 3|}}} | [[{{{Surnom 3}}}]] }}
      {{#if: {{{Surnom 4|}}} | [[{{{Surnom 4}}}]] }}
      {{#if: {{{Surnom 5|}}} | [[{{{Surnom 5}}}]] }}
      {{#if: {{{Surnom 6|}}} | [[{{{Surnom 6}}}]] }}
      {{#if: {{{Surnom 7|}}} | [[{{{Surnom 7}}}]] }}
      {{#if: {{{Surnom 8|}}} | [[{{{Surnom 8}}}]] }}
      {{#if: {{{Surnom 9|}}} | [[{{{Surnom 9}}}]] }}
      {{#if: {{{Surnom 10|}}} | [[{{{Surnom 10}}}]] }}
    </p></td>
  </tr>
</table>
}}


    <!-- Subheader Section 1 : General info -->
    {{#if: {{{Surnom 1|}}}{{{Surnom 2|}}}{{{Surnom 3|}}}{{{Surnom 4|}}}{{{Surnom 5|}}}{{{Surnom 6|}}}{{{Surnom 7|}}}{{{Surnom 8|}}}{{{Surnom 9|}}}{{{Surnom 10|}}}|
    <div class="subheader subheader_enemy">Informations générales</div>
    <tr>
        <td style="vertical-align: top; padding-top: 0;"><b>Surnom·s</b></td>
        <td style="vertical-align: top; padding-top: 0;">
            <p style="margin: 0;">[[{{{Surnom 1}}}]]<br>
                [[{{{Surnom 2}}}]]<br>
                [[{{{Surnom 3}}}]]<br>
                [[{{{Surnom 4}}}]]<br>
                [[{{{Surnom 5}}}]]<br>
                [[{{{Surnom 6}}}]]<br>
                [[{{{Surnom 7}}}]]<br>
                [[{{{Surnom 8}}}]]<br>
                [[{{{Surnom 9}}}]]<br>
                [[{{{Surnom 10}}}]]
            </p>
        </td>
    }} 
</div>
</div>
    <!-- Subheader Section 2 : Birth and Death -->
    {{#if:{{{(Sous Titre1)|}}}|
    </tr>
    {{#if:{{{Nom de naissance|}}}|
    <tr>
        <th>Nom·s de naissance</th>
        <td>{{{Nom de naissance}}}</td>
    </tr>
    }}
    {{#if:{{{Date / Lieu de naissance|}}}|
    <tr>
        <th>Naissance</th>
        <td>{{{Date / Lieu de naissance}}}</td>
    </tr>
    }}
    {{#if:{{{Origine|}}}|
    <tr>
        <th>Origine</th>
        <td>{{{Origine}}}</td>
    </tr>
    }}
    <tr>
        <td style="vertical-align: top; padding-top: 0;"><b>Transformation·s</b></td>
        <td style="vertical-align: top; padding-top: 0;">
            <p style="margin: 0;">{{#if: {{{Date / Lieu de transformation 1|}}} | [[{{{Date / Lieu de transformation
                1}}}]]<br> }}
                {{#if: {{{Date / Lieu de transformation 2|}}} | [[{{{Date / Lieu de transformation 2}}}]]<br> }}
                {{#if: {{{Date / Lieu de transformation 3|}}} | [[{{{Date / Lieu de transformation 3}}}]] }}
            </p>
        </td>
    </tr>
    <td style="vertical-align: top; padding-top: 0;"><b>Transformation·s</b></td>
    <td style="vertical-align: top; padding-top: 0;">
        <p style="margin: 0;">{{#if: {{{Date / Lieu de résurrection 1|}}} | [[{{{Date / Lieu de résurrection 1}}}]]<br>
            }}
            {{#if: {{{Date / Lieu de résurrection 2|}}} | [[{{{Date / Lieu de résurrection 2}}}]]<br> }}
            {{#if: {{{Date / Lieu de résurrection 3|}}} | [[{{{Date / Lieu de résurrection 3}}}]]<br> }}
    </td>
    <td style="vertical-align: top; padding-top: 0;"><b>Réincarnation·s</b></td>
    <td style="vertical-align: top; padding-top: 0;">
        <p style="margin: 0;">{{#if: {{{Date / Lieu de réincarnation 1|}}} | [[{{{Date / Lieu de réincarnation
            1}}}]]<br> }}
            {{#if: {{{Date / Lieu de réincarnation 2|}}} | [[{{{Date / Lieu de réincarnation 2}}}]]<br> }}
            {{#if: {{{Date / Lieu de réincarnation 3|}}} | [[{{{Date / Lieu de réincarnation 3}}}]]<br> }}
    </td>
    <td style="vertical-align: top; padding-top: 0;"><b>Résurrection·s</b></td>
    <td style="vertical-align: top; padding-top: 0;">
        <p style="margin: 0;">{{#if: {{{Date / Lieu de résurrection 1|}}} | [[{{{Date / Lieu de résurrection 1}}}]]<br>
            }}
            {{#if: {{{Date / Lieu de résurrection 2|}}} | [[{{{Date / Lieu de résurrection 2}}}]]<br> }}
            {{#if: {{{Date / Lieu de résurrection 3|}}} | [[{{{Date / Lieu de résurrection 3}}}]]<br> }}
    </td>
    <td style="vertical-align: top; padding-top: 0;"><b>Décès·s</b></td>
    <td style="vertical-align: top; padding-top: 0;">
        <p style="margin: 0;">{{#if: {{{Date / Lieu de Décès 1|}}} | [[{{{Date / Lieu de Décès 1}}}]]<br> }}
            {{#if: {{{Date / Lieu de Décès 2|}}} | [[{{{Date / Lieu de Décès 2}}}]]<br> }}
            {{#if: {{{Date / Lieu de Décès 3|}}} | [[{{{Date / Lieu de Décès 3}}}]]<br> }}
    </td>
    <div>
        }}
        </table>
    {{#if:{{{(Sous Titre2)|}}}|
    <div class="border-line enemy-border"></div>
    <div class="subheader subheader_enemy">
        <p>{{{(Sous Titre2)}}}</p>
    </div>}}
    <div>
        <table class="infobox-table">
            {{#if:{{{Père|}}}|
            <tr>
                <th>Père</th>
                <td>{{{Père}}}</td>
            </tr>
            }}
            {{#if:{{{Mère|}}}|
            <tr>
                <th>Mère</th>
                <td>{{{Mère}}}</td>
            </tr>
            }}
            {{#if:{{{Tuteur 2|}}}|
            <tr>
                <th></th>
                <td>{{{Tuteur 2}}}</td>
            </tr>
            }}
            {{#if:{{{Tuteur 3|}}}|
            <tr>
                <th></th>
                <td>{{{Tuteur 3}}}</td>
            </tr>
            }}
            {{#if:{{{Tuteur 4|}}}|
            <tr>
                <th></th>
                <td>{{{Tuteur 4}}}</td>
            </tr>
            }}
            {{#if:{{{Tuteur 5|}}}|
            <tr>
                <th></th>
                <td>{{{Tuteur 5}}}</td>
            </tr>
            }}
            {{#if:{{{Tutrice 1|}}}|
            <tr>
                <th>Tutrice•s</th>
                <td>{{{Tutrice 1}}}</td>
            </tr>
            }}
            {{#if:{{{Tutrice 2|}}}|
            <tr>
                <th></th>
                <td>{{{Tutrice 2}}}</td>
            </tr>
            }}
            {{#if:{{{Tutrice 3|}}}|
            <tr>
                <th></th>
                <td>{{{Tutrice 3}}}</td>
            </tr>
            }}
            {{#if:{{{Tutrice 4|}}}|
            <tr>
                <th></th>
                <td>{{{Tutrice 4}}}</td>
            </tr>
            }}
            {{#if:{{{Tutrice 5|}}}|
            <tr>
                <th></th>
                <td>{{{Tutrice 5}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 1|}}}|
            <tr>
                <th>Fratrie</th>
                <td>{{{Fratrie 1}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 2|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 2}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 3|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 3}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 4|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 4}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 5|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 5}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 6|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 6}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 7|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 7}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 8|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 8}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 9|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 9}}}</td>
            </tr>
            }}
            {{#if:{{{Fratrie 10|}}}|
            <tr>
                <th></th>
                <td>{{{Fratrie 10}}}</td>
            </tr>
            }}
            {{#if:{{{Conjoint 1|}}}|
            <tr>
                <th>Conjoint·e·s</th>
                <td>{{{Conjoint 1}}}</td>
            </tr>
            }}
            {{#if:{{{Conjoint 2|}}}|
            <tr>
                <th></th>
                <td>{{{Conjoint 2}}}</td>
            </tr>
            }}
            {{#if:{{{Conjoint 3|}}}|
            <tr>
                <th></th>
                <td>{{{Conjoint 3}}}</td>
            </tr>
            }}
            {{#if:{{{Conjoint 4|}}}|
            <tr>
                <th></th>
                <td>{{{Conjoint 4}}}</td>
            </tr>
            }}
            {{#if:{{{Conjoint 5|}}}|
            <tr>
                <th></th>
                <td>{{{Conjoint 5}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 1|}}}|
            <tr>
                <th>Enfant·s</th>
                <td>{{{Enfant 1}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 2|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 2}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 3|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 3}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 4|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 4}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 5|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 5}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 6|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 6}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 7|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 7}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 8|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 8}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 9|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 9}}}</td>
            </tr>
            }}
            {{#if:{{{Enfant 10|}}}|
            <tr>
                <th></th>
                <td>{{{Enfant 10}}}</td>
            </tr>
            }}
        </table>
    </div>
    {{#if:{{{(Sous Titre3)|}}}|
    <div class="border-line enemy-border"></div>
    <div class="subheader subheader_enemy">
        <p>{{{(Sous Titre3)}}}</p>
    </div>}}
    <div>
        <table class="infobox-table">
            {{#if:{{{Sexe|}}}|
            <tr>
                <th>Sexe</th>
                <td>{{{Sexe}}}</td>
            </tr>
            }}
            {{#if:{{{Espèce 1|}}}|
            <tr>
                <th>Espèce</th>
                <td>{{{Espèce 1}}}</td>
            </tr>
            }}
            {{#if:{{{Espèce 2|}}}|
            <tr>
                <th></th>
                <td>{{{Espèce 2}}}</td>
            </tr>
            }}
            {{#if:{{{Espèce 3|}}}|
            <tr>
                <th></th>
                <td>{{{Espèce 3}}}</td>
            </tr>
            }}
            {{#if:{{{Cheveux|}}}|
            <tr>
                <th>Cheveux</th>
                <td>{{{Cheveux}}}</td>
            </tr>
            }}
            {{#if:{{{Yeux|}}}|
            <tr>
                <th>Yeux</th>
                <td>{{{Yeux}}}</td>
            </tr>
            }}
            {{#if:{{{Taille|}}}|
            <tr>
                <th>Taille</th>
                <td>{{{Taille}}}</td>
            </tr>
            }}
            {{#if:{{{Corpulence|}}}|
            <tr>
                <th>Corpulence</th>
                <td>{{{Corpulence}}}</td>
            </tr>
            }}
            {{#if:{{{Signes distinctifs 1|}}}|
            <tr>
                <th>Signe·s distinctif·s</th>
                <td>{{{Signes distinctifs 1}}}</td>
            </tr>
            }}
            {{#if:{{{Signes distinctifs 2|}}}|
            <tr>
                <th></th>
                <td>{{{Signes distinctifs 2}}}</td>
            </tr>
            }}
            {{#if:{{{Signes distinctifs 3|}}}|
            <tr>
                <th></th>
                <td>{{{Signes distinctifs 3}}}</td>
            </tr>
            }}
            {{#if:{{{Signes distinctifs 4|}}}|
            <tr>
                <th></th>
                <td>{{{Signes distinctifs 4}}}</td>
            </tr>
            }}
            {{#if:{{{Signes distinctifs 5|}}}|
            <tr>
                <th></th>
                <td>{{{Signes distinctifs 5}}}</td>
            </tr>
            }}
        </table>
    </div>
    {{#if:{{{(Sous Titre4)|}}}|
    <div class="border-line enemy-border"></div>
    <div class="subheader subheader_enemy">
        <p>{{{(Sous Titre4)}}}</p>
    </div>}}
    <div>
        <table class="infobox-table">
            {{#if:{{{Allégiance 1|}}}|
            <tr>
                <th>{{{Allégiance 1}}}</th>
                <td>{{{Complément information 1-1|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 1-2|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 1-2|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 1-3|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 1-3|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 1-4|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 1-4|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 1-5|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 1-5|}}}</td>
            </tr>
            }}
            {{#if:{{{Allégiance 2|}}}|
            <tr>
                <th>{{{Allégiance 2}}}</th>
                <td>{{{Complément information 2-1|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 2-2|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 2-2|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 2-3|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 2-3|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 2-4|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 2-4|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 2-5|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 2-5|}}}</td>
            </tr>
            }}
            {{#if:{{{Allégiance 3|}}}|
            <tr>
                <th>{{{Allégiance 3}}}</th>
                <td>{{{Complément information 3-1|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 3-2|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 3-2|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 3-3|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 3-3|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 3-4|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 3-4|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 3-5|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 3-5|}}}</td>
                }}
                {{#if:{{{Allégiance 4|}}}|
            <tr>
                <th>{{{Allégiance 4}}}</th>
                <td>{{{Complément information 4-1|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 4-2|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 4-2|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 4-3|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 4-3|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 4-4|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 4-4|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 4-5|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 4-5|}}}</td>
            </tr>
            }}
            {{#if:{{{Allégiance 5|}}}|
            <tr>
                <th>{{{Allégiance 5}}}</th>
                <td>{{{Complément information 5-1|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 5-2|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 5-2|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 5-3|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 5-3|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 5-4|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 5-4|}}}</td>
            </tr>
            }}
            {{#if:{{{Complément information 5-5|}}}|
            <tr>
                <th></th>
                <td>{{{Complément information 5-5|}}}</td>
            </tr>
            }}
        </table>
    </div>
    <div class="infobox-center">
        {{#if:{{{Image 1|}}}|
        <div class="border-line enemy-border"></div>
        <div>
            <p>[[File:{{PAGENAME:{{{Image 1}}}}}|200px]]</p>
            <div class="infobox-caption">
                {{#if:{{{Image 1 caption|}}}|
                <div>
                    <td>{{{Image 1 caption}}}</td>
                </div>
                }}
            </div>
        </div>
        }}
    </div>
    <div class="infobox-LO">{{#if:{{{Devise personnelle|}}}|<tr>
            <td>{{{Devise personnelle}}}}}</td>
        </tr>
    </div>
    <div class="infobox-LO">{{#if:{{{Traduction Devise personnelle|}}}|<tr>
            <td>{{{Traduction Devise personnelle}}}}}</td>
        </tr>
    </div>
    <div class="infobox-center">
        {{#if:{{{Image 2|}}}|
        <div>
            <p>[[File:{{PAGENAME:{{{Image 2}}}}}|200px]]</p>
            <div class="infobox-caption">
                {{#if:{{{Image 2 caption|}}}|
                <div>
                    <td>{{{Image 2 caption}}}</td>
                </div>
                }}
            </div>
        </div>
        }}
    </div>
    <div class="infobox-center">
        {{#if:{{{Image 3|}}}|
        <div>
            <p>[[File:{{PAGENAME:{{{Image 3}}}}}|200px]]</p>
            <div class="infobox-caption">
                {{#if:{{{Image 3 caption|}}}|
                <div>
                    <td>{{{Image 3 caption}}}</td>
                </div>
                }}
            </div>
        </div>
        }}
    </div>
    <div class="border-line enemy-border"></div>
    <div class="infobox-left">
        <p><span class="plainlinks">
                [{{fullurl:{{FULLPAGENAME}}|action=edit}}
                {{#ifeq:{{FULLPAGENAME}}|{{FULLPAGENAMEE}}|modifier|{{ucfirst:modifier}}}}]
            </span></p>
    </div>
</div>
[[catégorie:Personnage]]
[[catégorie:Modèle Personnage historique]]

Dernière version du 11 avril 2025 à 10:02

Infobox Enemy V2