Template:Delete/testcases

From Gentoo Wiki
Jump to: navigation, search
Note
This is the template test case page for Template:Delete and its sandbox version. You may have to purge this page to update the examples.

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 template error}}
Parameter 1 not defined. For correct usage see Delete template's documentation on the 1 parameter.
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