Difference between revisions of "Template:Db-move/doc"
imported>Voidxor ((Boldly) Isn't it considered best practice to place the tag at the top of the page? Of course, redirects are an exception if you don't want to break them in the meantime.) |
imported>Andy M. Wang (move TemplateData to doc) |
||
| Line 8: | Line 8: | ||
If the page to be deleted is a redirect, {{tld|db-move}} can be placed either above or below <tt>#REDIRECT</tt>. If placed above, it will effectively break the automatic redirection. If placed below, it will remain a redirect. The link to the target page will still be visible below and can be followed as a soft redirection. The appearance of the soft redirection can be further improved by replacing {{nowrap|<tt><nowiki>#REDIRECT [[linked page]]</nowiki></tt>}} with {{nowrap|{{tlxb|Soft redirect|linked page}}}}. | If the page to be deleted is a redirect, {{tld|db-move}} can be placed either above or below <tt>#REDIRECT</tt>. If placed above, it will effectively break the automatic redirection. If placed below, it will remain a redirect. The link to the target page will still be visible below and can be followed as a soft redirection. The appearance of the soft redirection can be further improved by replacing {{nowrap|<tt><nowiki>#REDIRECT [[linked page]]</nowiki></tt>}} with {{nowrap|{{tlxb|Soft redirect|linked page}}}}. | ||
| + | |||
| + | ==TemplateData== | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Page to be moved here", | ||
| + | "type": "wiki-page-name", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Reason for move", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "bot": {}, | ||
| + | "reason": {}, | ||
| + | "summary": {}, | ||
| + | "category": {} | ||
| + | }, | ||
| + | "description": "Tags a page for speedy deletion in order to move another page to the same title." | ||
| + | } | ||
| + | </templatedata> | ||
<includeonly> | <includeonly> | ||
Revision as of 20:36, 13 November 2016
| 40px | This is a documentation subpage for Template:Db-move. It contains usage information, categories and other content that is not part of the original template page. |
| 50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
Template:Speedy deletion templates
Usage
Place {{db-move|1=PAGE TO BE MOVED HERE|2=REASON FOR MOVE}} at the top of the page to be deleted so that the deleting admin knows which page is to be moved to the title and can perform the move.
This template places the page in Category:Candidates for uncontroversial speedy deletion.
If the page to be deleted is a redirect, {{db-move}} can be placed either above or below #REDIRECT. If placed above, it will effectively break the automatic redirection. If placed below, it will remain a redirect. The link to the target page will still be visible below and can be followed as a soft redirection. The appearance of the soft redirection can be further improved by replacing #REDIRECT [[linked page]] with {{Soft redirect|linked page}}.
TemplateData
Tags a page for speedy deletion in order to move another page to the same title.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page to be moved here | 1 | no description | Page | required |
| Reason for move | 2 | no description | String | required |
| Bot | bot | no description | Unknown | optional |
| Reason | reason | no description | Unknown | optional |
| Summary | summary | no description | Unknown | optional |
| Category | category | no description | Unknown | optional |