Template:Delete/Documentation: Difference between revisions

Jump to navigation Jump to search
(Created page with "===Code=== <pre>{{Delete|file=|reason=|date=}}</pre> {{Delete}} {{Delete|file=1|reason=Low quality.|date=April 19, 2023}}")
 
No edit summary
Line 1: Line 1:
==Purpose==
Maintenance template used to mark pages for deletion if they meet criteria and add them to [[:Category:Pages needing deletion|Category:Pages needing deletion]]. By adding <code>file=1</code> as a parameter, the template can also be used to mark files for deletion and add them to [[:Category:Files needing deletion|Category:Files needing deletion]].
==Usage==
{| class="wikitable"
|+
|-
! Parameter !! Description
|-
| file || Must be given a value (such as "1" or "y") to display. Changes header to mark a file page for deletion.
|-
| reason || Enables a reason to be given for why the page is marked for deletion.
|-
| date || Displays the date the page was marked for deletion on.
|}
===Code===
===Code===
<pre>{{Delete}}</pre>
<pre>{{Delete|file=|reason=|date=}}</pre>
<pre>{{Delete|file=|reason=|date=}}</pre>


{{Delete}}
===Examples===
{{Delete|file=1|reason=Low quality.|date=April 19, 2023}}
{{Delete|nocat=1}}
{{Delete|file=1|reason=Low quality.|date=April 19, 2023|nocat=1}}

Revision as of 23:40, 19 April 2023

Purpose

Maintenance template used to mark pages for deletion if they meet criteria and add them to Category:Pages needing deletion. By adding file=1 as a parameter, the template can also be used to mark files for deletion and add them to Category:Files needing deletion.

Usage

Parameter Description
file Must be given a value (such as "1" or "y") to display. Changes header to mark a file page for deletion.
reason Enables a reason to be given for why the page is marked for deletion.
date Displays the date the page was marked for deletion on.

Code

{{Delete}}
{{Delete|file=|reason=|date=}}

Examples

This article has been proposed for deletion.
Discuss this proposal on the talk page.
This article has been proposed for deletion. (April 19, 2023)
Reason: Low quality. Discuss this proposal on the talk page.