« Modèle:ListeCatégorie » : différence entre les versions

116 octets ajoutés ,  17 septembre 2023
aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<div style="width:100%; margin-top: 1em; background-color:transparent">
<div style="width:100%; margin-top: 1em; background-color:transparent">
<div style="margin: 0; background-color: #{{{CouleurFond}}} ; border: 0px; border-radius:5px; text-align:left; vertical-align: left; padding: 5px">[[Fichier:{{{Image}}}|50px]][[:Catégorie:{{{NomCatégorie}}}|<span style="font-size: 22px; color:white; padding-left: 7px"><strong>{{{Texte}}}</strong></span>]]</div>
<div style="margin: 0; background-color: #{{{CouleurFond}}} ; border: 0px; border-radius:5px; text-align:left; vertical-align: left; padding: 5px">[[Fichier:{{{Image}}}|50px]][[:Catégorie:{{{NomCatégorie}}}|<span style="font-size: 22px; color:#{{{CouleurTexte}}}; padding-left: 7px"><strong>{{{Texte}}}</strong></span>]]</div>
<noinclude>
<noinclude>


Ligne 12 : Ligne 12 :
|Image=sticker prof tableau.png
|Image=sticker prof tableau.png
|NomCatégorie=Vocabulaire courant
|NomCatégorie=Vocabulaire courant
|Texte=Vocabulaire}}</nowiki>}}
|Texte=Vocabulaire
|CouleurTexte=FFFFFF}}</nowiki>}}
Le résultat est :
Le résultat est :
{{ListeCatégorie
{{ListeCatégorie
Ligne 18 : Ligne 19 :
|Image=sticker prof tableau.png
|Image=sticker prof tableau.png
|NomCatégorie=Vocabulaire courant
|NomCatégorie=Vocabulaire courant
|Texte=Vocabulaire}}
|Texte=Vocabulaire
|CouleurTexte=FFFFFF}}


== Précisions ==
== Précisions ==
Ligne 25 : Ligne 27 :
NomCatégorie doit avoir le nom exact de la catégorie vers lequelle lien renvoie. Respectez bien les majuscules.<br>
NomCatégorie doit avoir le nom exact de la catégorie vers lequelle lien renvoie. Respectez bien les majuscules.<br>
Texte est le texte affiché.
Texte est le texte affiché.
CouleurTexte correspond à un code couleur HTML également.
12 445

modifications