Template:R/doc


 * Description
 * It is a utility template that adds a section that tells an editor to copy the code for redirecting.

The following JS code, which should be added to MediaWiki:Common.js:
 * Dependencies
 * Sample output

gives

Configuration
There are also different ways to configure this template:

nonote
This configuration removes the bottom note.

gives

noheading
This configuration removes the top heading

gives

nonoteheading
This configuration removes both the bottom note and the heading.

gives

simple
This configuration makes the section more simplified, leaving only the redirect code and a copy button.

gives

Please do not attempt copying from here, as all the content will be copied at once. Go to the following pages to test them out:
 * Notes
 * w:c:justleafy:R/test
 * w:c:justleafy:R/test-nonote
 * w:c:justleafy:R/test-noheading
 * w:c:justleafy:R/test-nonoteheading
 * w:c:justleafy:R/test-simple