User:Rebbing/Templates/Friendly revert notice/doc

Function
This is a template for providing friendly revert notices to new users.

Usage
Typical use:

For reverting a range:

For being serious: which might look like:

In Twinkle, specify the parameters in the article field like so: |revision number|page title|reason

TemplateData
{   "description": "A template for providing friendly revert notices to new editors.", "params": { "1": {           "label": "Revision number", "type": "number", "required": true },

"2": {           "label": "Page title", "type": "wiki-page-name", "required": true },

"3": {           "label": "Reason", "type": "string", "required": true },

"pd": { "label": "Previous diff", "description": "The diff to use as the base of the diff instead of \"prev\".", "type": "number" },

"serious": { "label": "Serious mode", "description": "Set to omit the \"If you think I've made a mistake\" language from the notice.", "type": "boolean" }   } }