« 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="display: inline-block;  
<div style="display: inline-block;
             background: {{{couleur|#999}}};  
             background-color: {{{couleur|#999}}};
             color: {{{couleurTexte|white}}};  
             color: {{{couleurTexte|white}}};
             padding: 2px 5px;  
             padding: 2px 5px;
             border-radius: 3px;  
             border-radius: 3px;
             font-weight: bold;  
             font-weight: bold;
             text-align: center;  
             text-align: center;
             min-width: 20px;  
             min-width: 20px;
             font-size: 90%;">
             font-size: 90%;
   <span style="background: transparent;">{{{texte}}}</span>
            line-height: 1;
            background-clip: padding-box;">
   <span style="all: unset; background: none; color: inherit;">{{{texte}}}</span>
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"couleur": {},
"couleurTexte": {},
"texte": {}
},
"description": "Icône d'indice de ligne - Générique"
}
</templatedata>
</noinclude>

Version du 4 mai 2025 à 18:22

 {{{texte}}}