From Fedora Project Wiki

No edit summary
(Made this documentation more in the style of Template:Deprecated/doc)
Line 1: Line 1:
<onlyinclude>This template is for use on pages that should be deleted.
[[Template:Delete]] is an [[Help:Admonitions|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.


Usage: '''<nowiki>{{delete|Reasoning for deleting the page}}</nowiki>'''</onlyinclude>
Page deletions should usually be reserved for mistakes, as a deleted page may break links. For pages that have been moved, use a [[Help:Redirects|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 <code><nowiki>{{delete}}</nowiki></code> which will display a default message. To include a reason for the request, insert <code><nowiki>{{delete|This page really needs to be deleted.}}</nowiki></code>.
 
== Examples ==
=== Example: Basic delete request ===
This example demonstrates a basic request for deletion.
 
''Code:''
<pre><nowiki>{{delete|This page is no longer used.}}</nowiki></pre>
''Output'':
{{delete|This page is no longer used.}}
 
=== Example: Minimal delete request ===
This example demonstrates the default request for deletion.
 
''Code:''
<pre><nowiki>{{delete}}</nowiki></pre>
''Output'':
{{delete}}


[[Category:Template documentation]]
[[Category:Template documentation]]

Revision as of 08:07, 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.}}.

Examples

Example: Basic delete request

This example demonstrates a basic request for deletion.

Code:

{{delete|This page is no longer used.}}

Output:

It has been requested that this page be deleted.
This page is no longer used.


Example: Minimal delete request

This example demonstrates the default request for deletion.

Code:

{{delete}}

Output:

It has been requested that this page be deleted.