User:Rebbing/Templates/Friendly revert notice/doc
Appearance
This is a documentation subpage for User:Rebbing/Templates/Friendly revert notice. It may contain usage information, categories and other content that is not part of the original user template page. |
Function
[edit]This is a template for providing friendly revert notices to new users.
Usage
[edit]This template should always be substituted (i.e., use {{subst:User:Rebbing/Templates/Friendly revert notice/doc}}). |
Typical use:
{{User:Rebbing/Templates/Friendly revert notice|revision number|page title|reason}}
For reverting a range:
{{User:Rebbing/Templates/Friendly revert notice|revision number|page title|reason|pd{{=}}base revision number}}
For being serious:
{{User:Rebbing/Templates/Friendly revert notice|revision number|page title|reason|serious=1}}
which might look like:
- Hello! I undid this change you made to Wikipedia because it's bad, and you should feel bad. If you have any questions, just reply to this message. Thank you.
In Twinkle, specify the parameters in the article field like so:
|revision number|page title|reason
TemplateData
[edit]A template for providing friendly revert notices to new editors.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Revision number | 1 | no description | Number | required |
Page title | 2 | no description | Page name | required |
Reason | 3 | no description | String | required |
Previous diff | pd | The diff to use as the base of the diff instead of "prev". | Number | optional |
Serious mode | serious | Set to omit the "If you think I've made a mistake" language from the notice. | Boolean | optional |