« 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;
            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;">
  {{#tag:div|
  <span style="all: unset; background: none; color: inherit;">{{{texte}}}</span>
|style=display: inline-block; background: {{{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;
}}


{{#tag:div|
  <span style="all: unset; background: none; color: inherit; font-weight: inherit; font-size: inherit; font-family: inherit;">
     {{{texte}}}
     {{{texte}}}
   </span>
   </span>
</div>
|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:26

 
   {{{texte}}}