Template:Delete/Documentation: Difference between revisions

Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 20: Line 20:


===Examples===
===Examples===
<pre>{{Delete}}</pre>
{{Delete|nocat=1}}
{{Delete|nocat=1}}
'''Marking a file for deletion with a reason and date'''
<pre>{{Delete|file=1|reason=Low quality.|date=April 19, 2023}}</pre>
{{Delete|file=1|reason=Low quality.|date=April 19, 2023|nocat=1}}
{{Delete|file=1|reason=Low quality.|date=April 19, 2023|nocat=1}}
{{Documentation Footer}}

Revision as of 23:43, 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

{{Delete}}
This article has been proposed for deletion.
Discuss this proposal on the talk page.

Marking a file for deletion with a reason and date

{{Delete|file=1|reason=Low quality.|date=April 19, 2023}}
This article has been proposed for deletion. (April 19, 2023)
Reason: Low quality. Discuss this proposal on the talk page.


This is the template documentation page for Template:Delete. It should be transcluded onto the template page.