Template:Delete/doc: Difference between revisions
Created page with "{{doc/start}} This template place a notice box using Template:Notice and is used for maintenance purposes to signal that a page is no longer needed and is suggested to be deleted. == Usage == To use, put {{tlx|Delete|1}} at the start of the page. Pages will automatically be added to Category:Pages marked for deletion. === Parameters === {| class="wikitable" ! Parameter !! Data Type !! Default Value !! Description |- | 1 ("reason") || String || No reason has b..." |
m format |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
This template | This template is used for maintenance purposes to signal that a page is no longer needed and is suggested to be deleted. Marked pages will automatically be added to [[:Category:Pages marked for deletion]]. | ||
This template uses {{tl|Notice}} to create the box and it's not visible on mobile devices (added class <code>nomobile</code>). | |||
== Usage == | == Usage == | ||
To use, put {{tlx|Delete| | To use, put {{tlx|Delete|reason}} at the start of the page. | ||
=== Parameters === | === Parameters === | ||
{| class="wikitable" | {| class="wikitable" | ||
! Parameter !! Data Type !! Default Value !! | ! colspan=2 | Parameter<ref group="note">Placeholders refer to the names used in the syntax above. Placeholder <code>-</code> indicates parameters that are not used by default and need to be added by hand, e.g. <code>{{!}}noCategories = 1</code>.</ref> | ||
! rowspan=2 | Data Type | |||
! rowspan=2 | Status | |||
! rowspan=2 | Default Value | |||
! rowspan=2 | Description | |||
|- | |||
! Position or name | |||
! Placeholder | |||
|- | |- | ||
| 1 | | <code>1</code> | ||
| <code>reason</code> | |||
| String | |||
| Optional | |||
| No reason has been provided | |||
| Reason why the page is suggested to be deleted. | |||
|- | |- | ||
| noCategories || Boolean|| - || | | <code>noCategories</code> | ||
| style="text-align: center"| - | |||
| Boolean | |||
| Optional | |||
| style="text-align: center"| - | |||
| If given any value, the page will not be auto-categorized. | |||
|} | |} | ||
==== Notes ==== | |||
<references group="note"/> | |||
== Example == | == Example == | ||
Line 19: | Line 40: | ||
{{Delete|Page is no longer needed|noCategories=1}} | {{Delete|Page is no longer needed|noCategories=1}} | ||
== See also == | |||
{{#dpl: | |||
|namespace = Template | |||
|category = Notice templates | |||
|uses = Template:Notice | |||
|nottitlematch = %{{ROOTPAGENAME}}% | |||
|ordermethod = title | |||
|order = ascending | |||
}} | |||
{{doc/end}} | {{doc/end}} |
Latest revision as of 21:30, 16 June 2025
This template is used for maintenance purposes to signal that a page is no longer needed and is suggested to be deleted. Marked pages will automatically be added to Category:Pages marked for deletion.
This template uses {{Notice}}
to create the box and it's not visible on mobile devices (added class nomobile
).
Usage
To use, put {{Delete|reason}}
at the start of the page.
Parameters
Parameter[note 1] | Data Type | Status | Default Value | Description | |
---|---|---|---|---|---|
Position or name | Placeholder | ||||
1
|
reason
|
String | Optional | No reason has been provided | Reason why the page is suggested to be deleted. |
noCategories
|
- | Boolean | Optional | - | If given any value, the page will not be auto-categorized. |
Notes
- ↑ Placeholders refer to the names used in the syntax above. Placeholder
-
indicates parameters that are not used by default and need to be added by hand, e.g.|noCategories = 1
.
Example
{{Delete|Page is no longer needed}}
produces:

This page is marked for deletion
The given reason is: Page is no longer needed
If you disagree with its deletion, please discuss your reasons on this page or on its associated Discussion page, as applicable.
If you disagree with its deletion, please discuss your reasons on this page or on its associated Discussion page, as applicable.