Difference between revisions of "Template:Delete"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix the fix)
m (Add categorisation exception for Template:Delete and Category:Deletion Requests)
 
Line 1: Line 1:
<includeonly>{{Messagebox|'''This article has been submitted for''' <big>deletion</big>'''.'''{{#if:{{{1|}}}|<nowiki> </nowiki>'''The reason given was:''' {{{1}}}'''.'''}}|🗙|#F00}}[[Category:Deletion requests]]</includeonly><noinclude>
+
<includeonly>{{Messagebox|'''This article has been submitted for''' <big>deletion</big>'''.'''{{#if:{{{1|}}}|<nowiki> </nowiki>'''The reason given was:''' {{{1}}}'''.'''}}|🗙|#F00}}{{#ifeq:{{uc:{{PAGENAME}}}}|DELETE||{{#ifeq:{{uc:{{PAGENAME}}}}|DELETION REQUESTS||[[Category:Deletion requests]]}}}}</includeonly><noinclude>
 
'''Marks a page for deletion''' and displays a note about it.<br>
 
'''Marks a page for deletion''' and displays a note about it.<br>
 
Administrators can check the '''[[:Category:Deletion requests|Deletion requests category]]''' listing said articles.
 
Administrators can check the '''[[:Category:Deletion requests|Deletion requests category]]''' listing said articles.
Line 14: Line 14:
 
|-
 
|-
 
| <nowiki>{{Delete}}</nowiki>
 
| <nowiki>{{Delete}}</nowiki>
| {{Messagebox|'''This article has been submitted for '''<big>deletion</big>'''.'''|🗙|#F00}}
+
| {{Delete}}
 
|-
 
|-
 
| <nowiki>{{Delete|Obsolete}}</nowiki>
 
| <nowiki>{{Delete|Obsolete}}</nowiki>
| {{Messagebox|'''This article has been submitted for '''<big>deletion</big>'''.''' '''The reason given was:''' Obsolete'''.'''|🗙|#F00}}
+
| {{Delete|Obsolete}}
 
|}
 
|}
  

Latest revision as of 19:56, 3 December 2019

Marks a page for deletion and displays a note about it.
Administrators can check the Deletion requests category listing said articles.

Usage

{{Delete|message}}

  • message: the deletion reason. Should be short and to the point.


Examples
Code Result
{{Delete}}
🗙
This article has been submitted for deletion.
{{Delete|Obsolete}}
🗙
This article has been submitted for deletion. The reason given was: Obsolete.