Template:Delete/Documentation: Difference between revisions

Jump to navigation Jump to search
No edit summary
m (Adjusted to account for file categorization being automatic now)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Purpose==
==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]].
Maintenance template used to mark pages for deletion if they meet criteria and add them to [[:Category:Pages for deletion|Category:Pages for deletion]]. This template can also be used to mark files for deletion and add them to [[:Category:Files for deletion|Category:Files for deletion]].


==Usage==
==Usage==
Line 7: Line 7:
|-
|-
! Parameter !! Description
! 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.
| reason || Enables a reason to be given for why the page is marked for deletion.
Line 17: Line 15:
===Code===
===Code===
<pre>{{Delete}}</pre>
<pre>{{Delete}}</pre>
<pre>{{Delete|file=|reason=|date=}}</pre>
<pre>{{Delete|reason=|date=}}</pre>


===Examples===
===Examples===
<pre>{{Delete}}</pre>
{{Delete|nocat=1}}
{{Delete|nocat=1}}
{{Delete|file=1|reason=Low quality.|date=April 19, 2023|nocat=1}}
 
'''Marking a page for deletion with a reason and date'''
<pre>{{Delete|reason=Plagiarized.|date=April 19, 2023}}</pre>
{{Delete|reason=Plagiarized.|date=April 19, 2023|nocat=1}}
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 03:43, 21 November 2023

Purpose

Maintenance template used to mark pages for deletion if they meet criteria and add them to Category:Pages for deletion. This template can also be used to mark files for deletion and add them to Category:Files for deletion.

Usage

Parameter Description
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|reason=|date=}}

Examples

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

Marking a page for deletion with a reason and date

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