Difference between revisions of "Template:Afc redirect error/doc"
Jump to navigation
Jump to search
blackwiki>Shellwood m (Reverted edits by 2602:30A:2C98:CB90:D0D0:489:850D:C292 (talk) (HG) (3.1.22)) |
|||
| Line 14: | Line 14: | ||
* <code><nowiki>{{subst:Afc redirect error|OPTIONAL_MESSAGE}} ~~~~</nowiki></code> | * <code><nowiki>{{subst:Afc redirect error|OPTIONAL_MESSAGE}} ~~~~</nowiki></code> | ||
| − | = | + | === Twinkle === |
| + | You can add this template to the custom warning list in [[Wikipedia:Twinkle/Preferences|your Twinkle preferences]]: | ||
| + | # Go to § '''Warn user''' | ||
| + | # Find "Custom warning templates to display:" and click the {{key press|Edit items}} button | ||
| + | # Click the {{key press|Add}} button | ||
| + | # In the left field "Template name (no curly brackets)" add <code>Afc redirect error</code> | ||
| + | # In the right field "Text to show in warning list (also used as edit summary)" you could add e.g. <code>Error at [[WP:AFC/R]]</code> | ||
| + | # Click the {{key press|Save changes}} button on the dialogue box | ||
| + | # Click the {{key press|Save changes}} button on the Twinkle preferences page | ||
| − | + | Alternatively, if you prefer to add the template manually to your Twinkle preferences stored in [[Special:MyPage/twinkleoptions.js|a subpage of your user page]], the end result should look like this: | |
| + | |||
| + | <pre>"customWarningList": [ | ||
| + | { | ||
| + | "value": "Afc redirect error", | ||
| + | "label": "Error at [[WP:AFC/R]]" | ||
| + | } | ||
| + | ], | ||
| + | </pre> | ||
| + | <includeonly> | ||
| + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | [[Category:WikiProject Articles for creation]] | ||
| + | </includeonly> | ||
Revision as of 20:46, 26 November 2017
| This is a documentation subpage for Template:Afc redirect error. It contains usage information, categories and other content that is not part of the original template page. |
A notification template for user talk pages explaining why you removed their edit to Wikipedia:Articles for creation/Redirects.
Suitable for non-compliant edits that are good-faith in nature and does not warrant a warning but rather a friendly instruction.
| This template should always be substituted (i.e., use {{subst:Afc redirect error}}). |
Usage
You may either use:
{{subst:Afc redirect error}} ~~~~by itself for the default message,
or you may add a custom message as an optional parameter that will replace "Thank you.":
{{subst:Afc redirect error|OPTIONAL_MESSAGE}} ~~~~
Twinkle
You can add this template to the custom warning list in your Twinkle preferences:
- Go to § Warn user
- Find "Custom warning templates to display:" and click the Edit items button
- Click the Add button
- In the left field "Template name (no curly brackets)" add
Afc redirect error - In the right field "Text to show in warning list (also used as edit summary)" you could add e.g.
Error at WP:AFC/R - Click the Save changes button on the dialogue box
- Click the Save changes button on the Twinkle preferences page
Alternatively, if you prefer to add the template manually to your Twinkle preferences stored in a subpage of your user page, the end result should look like this:
"customWarningList": [
{
"value": "Afc redirect error",
"label": "Error at [[WP:AFC/R]]"
}
],