Template:Delnow: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (use CURRENTDAY2 instead of CURRENTDAY in sort key)
(alternative syntax)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{prot-temp}}<br>
{{Ambox
<div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #99ff99; padding: 1em 1em 1em 1em; background-color:#ddffdd">
| name  = Delnow
'''Description: '''  This template is used to mark a page for '''immediate deletion'''.
| 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>
<br>
<includeonly>[[</includeonly>Category:Delete immediately| {{<includeonly>subst:</includeonly>CURRENTYEAR}}-{{<includeonly>subst:</includeonly>CURRENTMONTH}}-{{<includeonly>subst:</includeonly>CURRENTDAY2}}<includeonly>]]</includeonly>
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

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.