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
Ligne 1 : Ligne 1 :
<!-- Outer wrapper -->
<!-- Outer wrapper -->
<div class="infobox" style="width: 22em; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; float: right; clear: right; margin: 0 0 1em 1em;">
<div class="infobox" style="width: 22em; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; float: right; clear: right; margin: 0 0 1em 1em;">
   <!-- Header with Title and Names/Transcriptions -->
   <!-- Header with Title and Names/Transcriptions -->
   <div class="header header_enemy" style="background-color: #ccc; padding: 0.5em; text-align: center;">
   <div class="header header_enemy" style="background-color: #ccc; padding: 0.5em; text-align: center;">
     <p style="font-size: 125%; font-weight: bold;">{{{Titre|{{PAGENAME}}}}}</p>
     <p style="font-size: 125%; font-weight: bold;">{{{Titre|{{PAGENAME}}}}}</p>
   
<!-- Optional fields for local names or transliterations -->
    <!-- Optional fields for local names or transliterations -->
     {{#if:{{{Nom LO1|}}}{{{Nom LO2|}}}{{{Nom LO3|}}}{{{Transcription|}}}|
     {{#if:{{{Nom LO1|}}}{{{Nom LO2|}}}{{{Nom LO3|}}}{{{Transcription|}}}|
       <div class="infobox-center auto-wrap" style="margin-top: 0.5em; font-size: 90%;">
       <div class="infobox-center auto-wrap" style="margin-top: 0.5em; font-size: 90%;">
Ligne 16 : Ligne 14 :
     }}
     }}
   </div>
   </div>
 
<!-- Optional fields for local names or transliterations -->
{{#if:{{{Portrait|}}}|
  {{#if:{{{Portrait|}}}|
    <tr>
  <tr>
      <td colspan="2" style="text-align: center;">
    <td colspan="2" style="text-align: center;">
         [[File:{{{Portrait}}}|250px]]
      <div>
         <div style="font-size: 85%; margin-top: 0.3em;">Portrait</div>
         <img src="/wiki/File:{{{Portrait}}}?width=250" alt="Portrait" style="max-width: 100%; height: auto;" />
       </td>
         <div style="font-size: 85%; margin-top: 0.3em;">'''Portrait'''</div>
    </tr>
       </div>
  }}
    </td>
  </tr>
}}

Version du 11 avril 2025 à 09:26

Infobox Enemy V2