Difference between revisions of "Template:Note"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(nowrap)
>Shirayuki
(move TemplateData to /doc)
Line 35: Line 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}}]]

Revision as of 23:53, 2 January 2021

<languages/> Note Note: Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] [[Category:Templates{{#translation:}}|Note]]