Aller au contenu

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

De Zenavia Wiki
Page créée avec « <includeonly> <span style=" {{#if:{{{fond|}}}|background-color:{{{fond}}};}} {{#if:{{{couleur|}}}|color:{{{couleur}}};}} padding:2px 4px; border-radius:4px;"> {{{1}}} </span> </includeonly> <noinclude> Ce modèle permet de mettre un pseudo en couleur. == Paramètres == * **1** : Le pseudo (obligatoire) * **fond** : Couleur de fond (ex : #ffcccc ou red) * **couleur** : Couleur du texte (ex : white, black, #000) == Exemples == <pre> {{Pseudo|JoueurRouge|fond=#ff... »
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
<span style="
<span style="
display:inline-block;
min-width:80px;
text-align:center;
{{#if:{{{fond|}}}|background-color:{{{fond}}};}}
{{#if:{{{fond|}}}|background-color:{{{fond}}};}}
{{#if:{{{couleur|}}}|color:{{{couleur}}};}}
{{#if:{{{couleur|}}}|color:{{{couleur}}};}}
padding:2px 4px;  
padding:2px 4px;
border-radius:4px;">
border-radius:4px;">
{{{1}}}
{{{1}}}

Version du 2 août 2025 à 18:14


Ce modèle permet de mettre un pseudo en couleur.

Paramètres

  • **1** : Le pseudo (obligatoire)
  • **fond** : Couleur de fond (ex : #ffcccc ou red)
  • **couleur** : Couleur du texte (ex : white, black, #000)

Exemples

{{Pseudo|JoueurRouge|fond=#ffcccc}}
{{Pseudo|JoueurTexteRouge|couleur=red}}
{{Pseudo|JoueurBlancSurNoir|fond=black|couleur=white}}