Aller au contenu

« Modèle:Infobox V3/Début » : différence entre les versions

De Wikiquestia
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
<!-- Contenu réel du modèle -->
<div class="infobox">
  <div style="font-weight: bold; text-align: center; background:{{{Couleur|#ddd}}}; font-size: 120%; margin-bottom: 0.5em;">
    {{{text|Lorem Ipsum}}}
  </div>
</div>
<!-- Si affiché en tant que page, alors ajouter un cadre vert autour -->
{{#ifeq:{{SUBPAGENAME}}|Infobox V3/Début|
<div style="border: 2px solid #73C663; background: #f9fff9; padding: 10px; margin-top: 1em;">
<strong>Exemple d’affichage :</strong>
<div class="infobox">
<div class="infobox">
   <div style="font-weight: bold; text-align: center; background:#eafbe5; font-size: 120%; margin-bottom: 0.5em;">
   <div style="font-weight: bold; text-align: center; background:#eafbe5; font-size: 120%; margin-bottom: 0.5em;">
Ligne 18 : Ligne 7 :
</div>
</div>
}}
}}
</includeonly>
<noinclude>
{{Documentation}}
</noinclude><includeonly>
<div class="infobox"> 
  <div style="font-weight: bold; text-align: center; background:{{{Couleur|#ddd}}}; font-size: 120%; margin-bottom: 0.5em;">
    {{{text|Lorem Ipsum}}}
  </div>
</includeonly>
</includeonly>



Version du 23 mai 2025 à 12:39