Template:Warning/doc: Difference between revisions
m Protected "Template:Warning/doc": High-risk template/module/file ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
m :corn: |
||
| Line 1: | Line 1: | ||
Admins are allowed to use this template so they can add official warnings to users. Remember to add a signature afterwards. | Admins are allowed to use this template so they can add official warnings to users. Remember to add a signature afterwards. | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": " | "label": "Details", | ||
"description": "Additional | "description": "Additional details about the warning", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
==Example usage== | ==Example usage== | ||
<pre> | <pre> | ||
{{Warning|Stop | {{Warning|Stop uploading pictures of corn}} | ||
</pre> | </pre> | ||
{{Warning|Stop uploading pictures of corn}} | |||
<includeonly>[[Category:User notices]]</includeonly><noinclude>[[Category:Documentation]]</noinclude> | |||