Difference between revisions of "Template:Delnow"

From ChoralWiki
Jump to navigation Jump to search
(green box with information (not included when template is used), add date and sort key)
(alternative syntax)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude><div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #99ff99; padding: 1em 1em 1em 1em; background-color:#ddffdd">
+
{{Ambox
'''Description: '''  This template is used to mark a page for '''immediate deletion'''.
+
| name  = Delnow
 +
| subst = <includeonly>{{subst:substcheck}}</includeonly>
 +
| type  = speedy
 +
| image =
 +
| issue = '''This page has been marked for [[:Category:Delete immediately|immediate deletion]] by''' {{{2}}} '''on''' {{{3}}}.<br>The reason given is: ''{{{1}}}''
 +
| fix  =
 +
| date =
 +
| cat  = <includeonly>Delete immediately</includeonly>
 +
}}<noinclude>{{prot-temp}}<br>
 +
{{DisplayBox|bgcolor=g|title=Documentation|text=
 +
This template is to mark a page for '''immediate deletion'''.  Place this template '''at the top''' of the page, and '''do not remove any text''' from the page.
  
Since this template must be '''''substituted''''' and two variables must be supplied (reason and username), there is a '''special syntax''' for this template which may found on [[Template talk:delnow|'''this template's talk page''']].
+
'''Syntax:'''
 +
:{{tl|delnow|''reason''|<nowiki>~~~</nowiki>|<nowiki>~~~~~</nowiki>}}
 +
or
 +
:{{tl|delete|''reason''|subst=y}}
  
Note:  The information in this green box does appear when the template is used.
+
where ''reason'' is a short description as to why the page should be deleted.
</div>
 
</noinclude>
 
  
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #ff1193; padding: 1em 1em 1em 1em; background-color:#ffdddd">
+
Pages thus marked appear in [[:Category:Delete immediately]] for Sysops to delete.  Hence there should be no question as to the deletion. Sysops will consult the page before deleting it to make sure the page should indeed be deleted.
'''This page has been marked for [[:Category:Delete immediately|''Immediate Deletion'']] by ''' {{{2}}}<br>
+
}}
The reason for this action is: {{{1}}}<br>
+
[[Category:Maintenance templates]]</noinclude>
Date:  {{<includeonly>subst:</includeonly>CURRENTYEAR}}-{{<includeonly>subst:</includeonly>CURRENTMONTH}}-{{<includeonly>subst:</includeonly>CURRENTDAY}}
 
</div>
 
<includeonly>[[</includeonly>Category:Delete immediately| {{<includeonly>subst:</includeonly>CURRENTYEAR}}-{{<includeonly>subst:</includeonly>CURRENTMONTH}}-{{<includeonly>subst:</includeonly>CURRENTDAY}}<includeonly>]]</includeonly>
 

Latest revision as of 17:41, 1 November 2015


Documentation

This template is to mark a page for immediate deletion. Place this template at the top of the page, and do not remove any text from the page.

Syntax:

{{delnow|reason|~~~|~~~~~}}

or

{{subst:delete|reason}}

where reason is a short description as to why the page should be deleted.

Pages thus marked appear in Category:Delete immediately for Sysops to delete. Hence there should be no question as to the deletion. Sysops will consult the page before deleting it to make sure the page should indeed be deleted.