Template:Warning/doc: Difference between revisions

Qwertyxp2000 (talk | contribs)
Created page with "Admins are allowed to use this template to add official warnings to users. <templatedata> { "params": { "1": { "label": "1", "description": "Additional comments about the official warning.", "example": "Stop making inappropriate and sexually explicit comments in edit summaries", "type": "string", "required": false } } } </templatedata> ==Example usage== {{Warning|Stop making inappropriate and sexually explicit comments in edit summaries}} <pre> {{W..."
 
m :corn:
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Admins are allowed to use this template to add official warnings to users.
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": "1",
"label": "Details",
"description": "Additional comments about the official warning.",
"description": "Additional details about the warning",
"example": "Stop making inappropriate and sexually explicit comments in edit summaries",
"type": "string",
"type": "string",
"required": false
"required": false
}
}
}
}
}
}
</templatedata>
</templatedata>


==Example usage==
==Example usage==
{{Warning|Stop making inappropriate and sexually explicit comments in edit summaries}}
<pre>
<pre>
{{Warning|Stop making inappropriate and sexually explicit comments in edit summaries}}
{{Warning|Stop uploading pictures of corn}}
</pre>
</pre>
{{Warning|Stop uploading pictures of corn}}
<includeonly>[[Category:User notices]]</includeonly><noinclude>[[Category:Documentation]]</noinclude>