Template:Delete

From Gentoo Wiki
Jump to: navigation, search
[edit

Documentation

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to mark a page as a candidate for deletion. Adding this to an article automatically adds it to Category:Deletion candidate.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) The reason this article is being nominated for deletion.
unmask No (n/a) If set to any value (yes is a good choice), category masking is disabled.

Category masking is used to prevent this template, its documentation, and its testcases, from accidentally being listed for deletion. As currently implemented, this means that no template marked for deletion is listed in Category:Deletion candidate. In order to properly list a template page for deletion, use the parameter unmask, as shown below.

Usage

{{Delete|reason}}

See the template's testcases:

Correct

One unnamed parameter containing the reason for deletion
Wiki code {{Delete|orphaned and out of date information}}

Main version
Warning
This page has been nominated for deletion.

The given reason is: orphaned and out of date information

If you disagree with its deletion, do not remove this notice; discuss your objections on the associated discussion page.

Administrators, please remember to check if anything links here and the page history before deleting.

This notice should remain for a minimum of 1 month after it was placed on the page. If discussion is still ongoing it should remain until a consensus is reached, at which time the page may be deleted or this notice may be removed. (However, if the page has only been edited by the user who nominated it for deletion and/or is in the nominator's user space, then a speedy deletion may be called for.)
Sandbox version
Named parameter unmask (to mark a template page for deletion)
Wiki code {{Delete|template no longer necessary|unmask=yes}}

Main version
Warning
This page has been nominated for deletion.

The given reason is: template no longer necessary

If you disagree with its deletion, do not remove this notice; discuss your objections on the associated discussion page.

Administrators, please remember to check if anything links here and the page history before deleting.

This notice should remain for a minimum of 1 month after it was placed on the page. If discussion is still ongoing it should remain until a consensus is reached, at which time the page may be deleted or this notice may be removed. (However, if the page has only been edited by the user who nominated it for deletion and/or is in the nominator's user space, then a speedy deletion may be called for.)
Sandbox version
↑ No visible difference from the previous case, except that the template page will be categorized in Category:Deletion candidate. If unmask is not used, the template page will not appear in the category. unmask does not need to be used if the page being marked for deletion is not a template page.

Incorrect

No parameter
Wiki code {{Delete}}

Main version
{{Delete}}
Parameter 1 not defined. For correct usage see template's documention.
Sandbox version
Two parameters (not supported)
Wiki code {{Delete|orphaned|out of date}}

Main version
Warning
This page has been nominated for deletion.

The given reason is: orphaned

If you disagree with its deletion, do not remove this notice; discuss your objections on the associated discussion page.

Administrators, please remember to check if anything links here and the page history before deleting.

This notice should remain for a minimum of 1 month after it was placed on the page. If discussion is still ongoing it should remain until a consensus is reached, at which time the page may be deleted or this notice may be removed. (However, if the page has only been edited by the user who nominated it for deletion and/or is in the nominator's user space, then a speedy deletion may be called for.)
Sandbox version

See also

  • {{WIP}} - Mark the article as a work in progress.
  • {{Stub}} - Mark the article as stub.
  • {{Dated}} - Mark the article as dated.
  • {{Delete}} - Mark the article for deletion.
  • {{Deprecated}} - Mark the article as deprecated.
Note
The above documentation is transcluded from Template:Delete/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)