Difference between revisions of "Template:Delete"

From Nottinghack Wiki
Jump to navigation Jump to search
(expand template to allow reason date and highlight talk page)
(add paras)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
{{Ambox
Default appearance of template:
 
{{Delete}}</noinclude>
 
<includeonly>{{Ambox
 
 
| name      = Delete
 
| name      = Delete
 
| subst    = {{subst:substcheck}}
 
| subst    = {{subst:substcheck}}
Line 9: Line 6:
 
| class    = ambox-Delete
 
| class    = ambox-Delete
 
| small    = {{{small|}}}
 
| small    = {{{small|}}}
| text      = This page has been tagged as requiring '''deletion'''. {{#if:{{{2|{{{reason|}}}}}}|The specific reason is: '''{{{2|{{{reason|}}}|Please add a "reason" parameter to this template}}}'''.|(Please state reason for request, [[Template:Delete|see delete instructions]].)}} Discuss request on the page's {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|[[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]].}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
+
| text      = This page has been tagged as requiring '''deletion'''. {{#if:{{{1|{{{reason|}}}}}}|The specific reason is: '''{{{1|{{{reason|}}}}}}'''|'''Please add a reason for the request''' (see [[Help:Page deletion and redirection|see delete instructions]].)}} Discuss request on the page's {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|[[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]].}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
 
| doc      = no
 
| doc      = no
}}</includeonly><includeonly>[[Category:Pages to delete]]</includeonly><noinclude>
+
}}<includeonly>[[Category:Pages to delete]]</includeonly><noinclude>
 +
 
 +
==Documentation==
 +
'''Note:''' the page will be automatically added to the category [[:Category:Pages to delete|Pages to delete]].
 +
 
 
To indicate that a page requires deletion place the following wiki mark-up at the top of the page:
 
To indicate that a page requires deletion place the following wiki mark-up at the top of the page:
  
Line 18: Line 19:
 
</pre>
 
</pre>
  
'''Note:''' the page will be automatically added to the category [[:Category:Pages to delete|Pages to delete]].
+
Preferably, a more specific instruction and a date are also provided, for example:
 
 
== How to provide more detail ==
 
To give more specific instructions and a date in the clean up box use this wiki mark-up:
 
 
<pre>
 
<pre>
{{Delete|reason=the article an unneeded duplicate of the 'clone' page.|date=April 2014}}  
+
{{Delete|reason=The article a duplicate of the borg page|date=April 2014}}  
 
</pre>
 
</pre>
 +
 +
===Parameters===
 +
;reason
 +
Text explaining reason for deletion (also works with first parameter being unnamed).
 +
;date
 +
Date when page was proposed for deletion. Use date format: Month YYYY.
  
 
[[Category:Page Action Templates]]
 
[[Category:Page Action Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:04, 20 February 2019

Documentation

Note: the page will be automatically added to the category Pages to delete.

To indicate that a page requires deletion place the following wiki mark-up at the top of the page:

{{Delete}}

Preferably, a more specific instruction and a date are also provided, for example:

{{Delete|reason=The article a duplicate of the borg page|date=April 2014}} 

Parameters

reason

Text explaining reason for deletion (also works with first parameter being unnamed).

date

Date when page was proposed for deletion. Use date format: Month YYYY.