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

De 21Wiki
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Ligne 4 : Ligne 4 :
| MJ_legende = <span style="display:inline-block"><span style="background-color:gold;border-radius:100px;padding-left:-5px;padding-right:3px;padding-top:3px;padding-bottom:3px><span style="background-color:white;border-radius:100px;padding:5px;border:3px solid gold">👑</span><span style="color:white;margin-left:3px;margin-right:5px">'''MJ'''</span></span></span>
| MJ_legende = <span style="display:inline-block"><span style="background-color:gold;border-radius:100px;padding-left:-5px;padding-right:3px;padding-top:3px;padding-bottom:3px><span style="background-color:white;border-radius:100px;padding:5px;border:3px solid gold">👑</span><span style="color:white;margin-left:3px;margin-right:5px">'''MJ'''</span></span></span>
| PNJ_legende = <span style="display:inline-block"><span style="background-color:blueviolet;border-radius:100px;padding-left:-5px;padding-right:3px;padding-top:3px;padding-bottom:3px><span style="background-color:white;border-radius:100px;padding:5px;border:3px solid blueviolet">🤖</span><span style="color:white;margin-left:3px;margin-right:5px">'''PNJ'''</span></span></span>
| PNJ_legende = <span style="display:inline-block"><span style="background-color:blueviolet;border-radius:100px;padding-left:-5px;padding-right:3px;padding-top:3px;padding-bottom:3px><span style="background-color:white;border-radius:100px;padding:5px;border:3px solid blueviolet">🤖</span><span style="color:white;margin-left:3px;margin-right:5px">'''PNJ'''</span></span></span>
| test = <span style="color:#0090FF;font-weight:700">[[Fichier:Icone Business Drogue.png|sans_cadre|45x45px]]Drogue</span>
| test = <span style="color:black;font-weight:700">[[Fichier:Icone Business Drogue.png|sans_cadre|45x45px]]Drogue</span>
| #default = <span style="background-color:turquoise;border-radius:100px;padding-left:8px;padding-right:8px;padding-top:3px;padding-bottom:3px;color:white">'''Joueur'''</span>
| #default = <span style="background-color:turquoise;border-radius:100px;padding-left:8px;padding-right:8px;padding-top:3px;padding-bottom:3px;color:white">'''Joueur'''</span>
}}</includeonly>
}}</includeonly>

Version du 23 mai 2024 à 16:33


Modèle permettant de gérer le rôle d'un personnage ou d'une entité.

[Modifier les données du modèle]

Paramètres du modèle

La mise en forme sur une seule ligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
rolerole

Renseigner si le personnage ou l'entité a un rôle particulier

Inconnufacultatif

Tous les exemples d'utilisations

Statuts réservés aux infobox

Le wikicode :

{{Rôle}}

donnera : Joueur


Le wikicode :

{{Rôle|role=MJ}}

donnera : 👑MJ


Le wikicode :

{{Rôle|role=PNJ}}

donnera : 🤖PNJ


Le wikicode :

{{Rôle|role=test}}

donnera : Drogue


Statuts réservés aux légendes des chronologies et des tableaux

Le wikicode :

{{Rôle|role=MJ_legende}}

donnera : 👑MJ


Le wikicode :

{{Rôle|role=PNJ_legende}}

donnera : 🤖PNJ