Template:Delete/Documentation: Difference between revisions

no edit summary
(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}}