User:Rebbing/Templates/Friendly revert notice/doc

Function edit

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

Usage edit

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.

Template parameters

ParameterDescriptionTypeStatus
Revision number1

no description

Numberrequired
Page title2

no description

Page namerequired
Reason3

no description

Stringrequired
Previous diffpd

The diff to use as the base of the diff instead of "prev".

Numberoptional
Serious modeserious

Set to omit the "If you think I've made a mistake" language from the notice.

Booleanoptional