Template:Delete: Difference between revisions

Jump to navigation Jump to search
Style; Category suppression for demonstration purposes; Illustrative example
m (+-cat: Message box templates → Messagebox templates for consistancy)
(Style; Category suppression for demonstration purposes; Illustrative example)
Line 6: Line 6:
----
----
'''Reason for the nomination:''' ''{{{reason|}}}'' |}}
'''Reason for the nomination:''' ''{{{reason|}}}'' |}}
|}<includeonly>[[Category:{{#switch:{{namespace}}
|}<!--
| template = Templates
 
| category = Categories
Automatic categorisation
| file    = Files
--><includeonly>[[{{#ifeq: {{lc: {{{nocat|}}} }}
| Articles}} considered for deletion as of {{MONTHNAME|{{{month}}}}} {{#if:{{{year|}}}|{{{year|}}}|{{CURRENTYEAR}}}}]]</includeonly><noinclude>
  | true |
  | Category:{{#switch: {{namespace}}
  | template = Templates
  | category = Categories
  | file    = Files
  | #default = Articles
}} considered for deletion as of {{MONTHNAME|{{{month}}}}} {{#if:{{{year|}}}
  | {{{year|}}}
  | {{CURRENTYEAR}}
}}
}}]]</includeonly><noinclude>
{{Informative template|1=
{{Informative template|1=
== Goal ==
== Goal ==
Line 16: Line 26:


== Usage ==
== Usage ==
Simply add the following lines of code at the top of your article, file or template. If you need arguments to support your reason, please do so on the page's talk page. Allowing others to discuss the nomination.
Add the template to the top of the article, file or template you want to nominate for deletion.
  <nowiki>{{</nowiki>Delete
 
  <nowiki>|</nowiki>reason=
If you need arguments to support your reason, please do so on the page's talk page, allowing others to discuss the nomination.
  <nowiki>|</nowiki>day={{CURRENTDAY2}}
 
  <nowiki>|</nowiki>month={{CURRENTMONTH}}
  <nowiki>{{</nowiki>'''delete'''
  <nowiki>|</nowiki>year={{CURRENTYEAR}}
  <nowiki>|</nowiki> reason =  
  <nowiki>|</nowiki> day   = {{CURRENTDAY2}}
  <nowiki>|</nowiki> month = {{CURRENTMONTH}}
  <nowiki>|</nowiki> year   = {{CURRENTYEAR}}
<nowiki>|</nowiki> ''nocat''  =
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
* reason — the explanation for why the page referencing this template needs to be deleted.
 
* day, month, and year — the current day of the month, month, and four-digit year, such as {{CURRENTDAY}}, {{CURRENTMONTH}}, and {{CURRENTYEAR}} for today.
All parameters except '''nocat''' are mandatory.
For example:
 
  <nowiki>{{</nowiki>Delete
; reason:            Explanation for why the page needs to be deleted.
  <nowiki>|</nowiki>reason=The article contains no information related to FlightGear.
 
  <nowiki>|</nowiki>day={{CURRENTDAY2}}
; day, month, year:  Two digit day of the month and month, and four-digit year when the template was added, for example '''{{CURRENTDAY2}}''', '''{{CURRENTMONTH}}''', and '''{{CURRENTYEAR}}''' for today.
  <nowiki>|</nowiki>month={{CURRENTMONTH}}
 
  <nowiki>|</nowiki>year={{CURRENTYEAR}}
; nocat:             If '''true''' automatic categorisation of the page will be suppressed.  Useful for demonstration purposes.
 
== Example ==
  <nowiki>{{</nowiki>delete
  <nowiki>|</nowiki> reason = The article contains no information related to FlightGear.
  <nowiki>|</nowiki> day   = {{CURRENTDAY2}}
  <nowiki>|</nowiki> month = {{CURRENTMONTH}}
  <nowiki>|</nowiki> year   = {{CURRENTYEAR}}
<nowiki>|</nowiki> nocat  = true
  <nowiki>}}</nowiki>
  <nowiki>}}</nowiki>
{{delete
| reason = The article contains no information related to FlightGear.
| day    = 09
| month  = 05
| year  = 2014
| nocat  = true
}}


== Related templates ==
== Related templates ==
* {{tl|delete-sp}}, speedy deletion.  Only to be used when there can be ''no controversies'', for example on user sub-pages and spam.
* {{tl|delete-sp}}, speedy deletion.  Only to be used when there can be ''no controversies'', for example on user sub-pages and spam.
}}
}}


Navigation menu