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

Aller à la navigation Aller à la recherche
659 octets enlevés ,  3 janvier 2021
move TemplateData to /doc
test0>Shirayuki
(nowrap)
test0>Shirayuki
(move TemplateData to /doc)
Ligne 35 : Ligne 35 :


== Parameters ==
== Parameters ==
<templatedata>
 
{
{{Note/doc}}
"params": {
 
"inline": {
"label": "Inline formatting",
"description": "Show the template without line breaks before and after it",
"type": "boolean"
},
"text": {
"aliases": [
"1"
],
"label": "Text",
"type": "content",
"required": true
},
"type": {
"aliases": [
"2"
],
"label": "Type",
"description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.",
"type": "line",
"default": "info"
}
},
"format": "inline",
"description": "Show a note in a box (e.g. a top-of-the-page warning).",
"paramOrder": [
"type",
"text",
"inline"
]
}
</templatedata>
}}
}}
[[Category:Templates{{#translation:}}|{{PAGENAME}}]]
[[Category:Templates{{#translation:}}|{{PAGENAME}}]]
Utilisateur anonyme

Menu de navigation