Template:Delete/doc: Difference between revisions

From USApedia
No edit summary
m (Text replacement - "Saintapedia" to "USApedia")
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
! Markup !! Result
! Markup !! Result
|- valign=top
|- valign=top
| {{tlx|Delete|reason{{=}}This file is a duplicate of another file in Saintapedia and nothing links to this file}}
| {{tlx|Delete|reason{{=}}This file is a duplicate of another file in USApedia and nothing links to this file}}
| {{Delete|reason=This file is a duplicate of another file in Saintapedia and nothing links to this file|nocat=True}}
| {{Delete|reason=This file is a duplicate of another file in USApedia and nothing links to this file|nocat=True}}
|- valign=top
|- valign=top
| {{tlx|Delete|reason{{=}}This file is a duplicate of another file in Saintapedia and nothing links to this file|date{{=}}{{#time: m/d/Y|-2 days}}}}
| {{tlx|Delete|reason{{=}}This file is a duplicate of another file in USApedia and nothing links to this file|date{{=}}{{#time: m/d/Y|-2 days}}}}
| {{Delete|reason=This file is a duplicate of another file in Saintapedia and nothing links to this file|date={{#time: m/d/Y|-2 days}}|nocat=True}}
| {{Delete|reason=This file is a duplicate of another file in USApedia and nothing links to this file|date={{#time: m/d/Y|-2 days}}|nocat=True}}
|- valign=top
|- valign=top
| {{tlx|Delete}}
| {{tlx|Delete}}
Line 34: Line 34:
{
{
"params": {
"params": {
"reason": {
"reason": {
"required": true
"required": true
}
}
}
}
}
}



Latest revision as of 23:06, 14 November 2024

Use the {{Delete | Reason=rationale for deletion}} template to flag a page that should be deleted. Pages flagged for deletion may be seen under Category:Delete.

To learn more about deletion process, see Help:Delete.

This template is in the family of Help:Templates/Banner templates

Usage

The template has two use cases. The use case we ask everyone to use is to include a reason for why the page can be deleted. It takes the form:

{{Delete|Reason=put your reason here}} or {{Delete|put your reason here}}.

You may also add a date parameter so it is clear how long a page has been flagged for delete, but it does not change the output of the template.

The second use case eliminates the reason and creates a generic delete banner. Using this second option should be reserved for a last resort as including a reason is an important piece of conveying to the gardeners why the page can be deleted.

Markup Result
{{Delete|reason=This file is a duplicate of another file in USApedia and nothing links to this file}} [[Category:Delete]] will be set.
{{Delete|reason=This file is a duplicate of another file in USApedia and nothing links to this file|date=02/07/2025}} [[Category:Delete]] will be set.
{{Delete}} [[Category:Delete]] will be set.

No description.

Template parameters

ParameterDescriptionTypeStatus
reasonreason

no description

Unknownrequired