« Modèle:Indice-ligne » : différence entre les versions

De TC-Dossiers
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<div style="color:{{{blanc_ou_noir|}}}; background-color:{{{couleur-fond|}}};  
<span style="color:{{{blanc_ou_noir|}}}; background-color:{{{couleur-fond|}}};  
             padding:4px; font-size:1em; width:4em; height:3em;  
             display: inline-block; width: 1.8em; height: 1.8em;  
             display:flex; align-items:center; justify-content:center;  
             line-height: 1.8em; font-size: 1em; font-weight: bold;  
            font-weight:bold; text-align:center; border-radius:5px;">
            text-align: center; border-radius: 5px; margin: 0 2px;">
   <b>{{{texte|}}}</b>
   {{{texte|}}}
</div>
</span>

Version du 5 mars 2025 à 17:33