Template:Avertissement: Difference between revisions

From eMushpedia
Jump to navigation Jump to search
imported>PrincessFelicie
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:#EDB9B9; color: black; margin:10px" cellspacing="2" |- | style="padding:10px" |Image:image-danger.png | style="padding:10px" |{{{1}}} |}</onlyinclude></includeonly> Un template pour afficher des informations importantes dans un encadré rouge. '''Usage''' <pre>{{Warning|Texte}}</pre> Pa... »
 
imported>PrincessFelicie
m PrincessFelicie a déplacé la page Modèle:Warning vers Modèle:Avertissement
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
|}</onlyinclude></includeonly>
|}</onlyinclude></includeonly>


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


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


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

Latest revision as of 14:07, 24 February 2025


Créer un encadré avertissement (rouge).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Texte1

Texte de l'encadré.

Unknownrequired


Exemple.