« 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="background: red; color: white; padding: 5px;">
{{#tag:div|
  [{{{texte}}}]
  <span style="all: unset; background: none; color: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;">
</div>
    {{{texte}}}
  </span>
|style=display: inline-block;
      background-color: {{{couleur|#999}}};
      color: {{{couleurTexte|white}}};
      padding: 2px 5px;
      border-radius: 3px;
      font-weight: bold;
      text-align: center;
      min-width: 20px;
      font-size: 90%;
      line-height: 1;
}}

Version du 4 mai 2025 à 18:37

 [{{{texte}}}]