Template:Delete/doc
From FedoraProject
(Removed Category:Template documentation as I don't believe this category is necessary. Seems to currently be redundant with Category:Templates or the Template namespace) |
(Added some documentation for the builtin messages for this template) |
||
| Line 21: | Line 21: | ||
''Output'': | ''Output'': | ||
{{delete}} | {{delete}} | ||
| + | |||
| + | == Default messages == | ||
| + | This template has built-in messages for some common scenarios. | ||
| + | |||
| + | === Sandbox === | ||
| + | This message is used for pages that appear to have been used to test out the wiki. | ||
| + | |||
| + | ''Code:'' | ||
| + | <pre><nowiki>{{delete|sandbox}}</nowiki></pre> | ||
| + | ''Output'': | ||
| + | {{delete|sandbox}} | ||
| + | |||
| + | === Mystery === | ||
| + | This message is used for a page that does not appear to have a relevant purpose. It may actually have been a sandbox, but there's not enough context to determine if that's the case. | ||
| + | |||
| + | ''Code:'' | ||
| + | <pre><nowiki>{{delete|mystery}}</nowiki></pre> | ||
| + | ''Output'': | ||
| + | {{delete|mystery}} | ||
Revision as of 08:51, 28 June 2010
Template:Delete is an admonition that indicates a page should be deleted. This template makes these pages easier for administrators to find and work through, especially if a reason is provided.
Page deletions should usually be reserved for mistakes, as a deleted page may break links. For pages that have been moved, use a redirect. For pages with obsolete content, try merging the content into other articles and then providing a redirect to an appropriate location.
To use, insert {{delete}} which will display a default message. To include a reason for the request, insert {{delete|This page really needs to be deleted.}}.
Contents |
Examples
Example: Basic delete request
This example demonstrates a basic request for deletion.
Code:
{{delete|This page is no longer used.}}
Output:
Example: Minimal delete request
This example demonstrates the default request for deletion.
Code:
{{delete}}
Output:
Default messages
This template has built-in messages for some common scenarios.
Sandbox
This message is used for pages that appear to have been used to test out the wiki.
Code:
{{delete|sandbox}}
Output:
Mystery
This message is used for a page that does not appear to have a relevant purpose. It may actually have been a sandbox, but there's not enough context to determine if that's the case.
Code:
{{delete|mystery}}
Output: