Template:Delete/doc

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Default messages: Added a little more information to describe how to use built-in messages)
(Default messages: Clarified use rules, removed code listings, mentioned aliases)
Line 23: Line 23:
  
 
== Default messages ==
 
== Default messages ==
This template has built-in reasons for some common scenarios which can be automatically included in lieu of a full reason. For example, request the deletion of a [[Help:Sandbox|sandbox]] by inserting <code><nowiki>{{delete|sandbox}}</nowiki></code>.
+
This template has built-in reasons for some common scenarios which can be automatically included in lieu of a full reason. For example, request the deletion of a [[Help:Sandbox|sandbox]] by inserting <code><nowiki>{{delete|sandbox}}</nowiki></code>. Many aliases also exist for these messages, such as "senseless", "not useful", and "nonsense" to refer to "random".
  
=== Sandbox ===
+
=== random ===
This message is used for pages that appear to have been used to test out the wiki.
+
The "random" message is used for a page that appears to have been used to test out the wiki. Some examples include nonsense such as a single word or letter.
 
+
{{delete|random}}
''Code:''
+
=== irrelevant ===
<pre><nowiki>{{delete|sandbox}}</nowiki></pre>
+
The "irrelevant" is used for a page that does not appear to be relevant to this project. Some examples include random code listings or a list of files.
''Output'':
+
{{delete|irrelevant}}
{{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 09:42, 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:

Cog.png
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:

Cog.png
It has been requested that this page be deleted.


Default messages

This template has built-in reasons for some common scenarios which can be automatically included in lieu of a full reason. For example, request the deletion of a sandbox by inserting {{delete|sandbox}}. Many aliases also exist for these messages, such as "senseless", "not useful", and "nonsense" to refer to "random".

random

The "random" message is used for a page that appears to have been used to test out the wiki. Some examples include nonsense such as a single word or letter.

Cog.png
It has been requested that this page be deleted.
This page does not appear to have useful content. If you're looking to experiment with the wiki, please use your user page as a sandbox.

irrelevant

The "irrelevant" is used for a page that does not appear to be relevant to this project. Some examples include random code listings or a list of files.

Cog.png
It has been requested that this page be deleted.
The content of this page does not seem related or relevant to this wiki. If you're looking for a place to paste snippets of text, please use fpaste.org.