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

De eMushpedia
Aller à la navigation Aller à la recherche
Page créée avec « <includeonly><onlyinclude>{| style="min-width:300px; max-width:800px;width:auto;border-style:solid; border-width:0px; border-color:red; border-radius:10px; background-color:#bee4ff;margin:10px; color: black" cellspacing="2" |- | style="padding:10px" |Image:neron_small.png | style="padding:10px" |{{{1}}} |}</onlyinclude></includeonly> Un template pour afficher des informations dans un encadré bleu. '''Usage''' <pre>{{Info|Texte}}</pre> Paramètre '''néces... »
 
m Text replacement - "[[Image:" to "[[File:"
 
(2 versions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly><onlyinclude>{| style="min-width:300px; max-width:800px;width:auto;border-style:solid; border-width:0px; border-color:red; border-radius:10px; background-color:#bee4ff;margin:10px; color: black" cellspacing="2"
<includeonly><onlyinclude>{| style="min-width:300px; max-width:800px;width:auto;border-style:solid; border-width:0px; border-color:red; border-radius:10px; background-color:#bee4ff;margin:10px; color: black" cellspacing="2"
|-
|-
| style="padding:10px" |[[Image:neron_small.png]]
| style="padding:10px" |[[File:icon-info-big.png]]
| style="padding:10px" |{{{1}}}
| style="padding:10px" |{{{1}}}
|}</onlyinclude></includeonly>
|}</onlyinclude></includeonly>


Un template pour afficher des informations dans un encadré bleu.
[[Category:Templates]]


'''Usage'''
<noinclude>
<pre>{{Info|Texte}}</pre>
<templatedata>
{
"params": {
"1": {
"label": "Texte",
"description": "Texte de l'encadré.",
"required": true
}
},
"description": "Créer un encadré informations (bleu)."
}
</templatedata>
</noinclude>


Paramètre '''nécessaire''' ''Texte'': Le texte à afficher.
{{Info|Exemple.}}
 
'''Demo:'''
<pre>{{Info|Ceci est un encadré d'informations.}}</pre>
 
{{Info|Ceci est un encadré d'informations.}}
 
[[Category:Useful Templates]]

Dernière version du 9 avril 2026 à 00:50


Créer un encadré informations (bleu).

Paramètres du modèle[Modifier les données du modèle]

ParamètreDescriptionTypeÉtat
Texte1

Texte de l'encadré.

Inconnuobligatoire


Exemple.