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

139 octets ajoutés ,  3 janvier 2021
move TemplateData here
test0>Tegel
m (Reverted edits by 193.164.156.12 (talk) to last revision by Legoktm)
test0>Shirayuki
(move TemplateData here)
Ligne 1 : Ligne 1 :
{{Documentation subpage}}
== Usage ==
<pre>
{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test
{{tip}} Loose test
</pre>
{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test
{{tip}} Loose test
<includeonly>
<!-- Categories go here, and interwikis go here -->
{{languages}}
</includeonly>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"1": {
"inline": {
"type": "content"
"label": "Inline formatting",
"description": "Show the template without line breaks before and after it",
"type": "boolean"
},
},
"2": {}
"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"
"format": "inline",
"description": "Show a note in a box (e.g. a top-of-the-page warning).",
"paramOrder": [
"type",
"text",
"inline"
]
}
}
</templatedata>
</templatedata>
== Heading text ==
Utilisateur anonyme