Anonymous

Template:Delete: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Re-adding module invocation which added the category Category:Files ready for deletion which is useful to admins. The benefit outweighs the performance cost in this case.
mNo edit summary
(Re-adding module invocation which added the category Category:Files ready for deletion which is useful to admins. The benefit outweighs the performance cost in this case.)
 
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#vardefine:type|{{#switch:{{NAMESPACE}}|Talk=talk page|File=file|File talk=file talk page|Template=template|Template talk=template talk page|User=user page|User talk=user talk page|Category=category|Category talk=category talk page|#default=article}}}}
<includeonly>{{Mbox
{{Mbox
|image= [[File:ZW Delete Asset.png|50px]]
|image  = [[File:Big Bomb.png|50px]]
|header= This {{#switch:{{NAMESPACE}}|=article[[Category:Articles needing deletion]]|File=file[[Category:Files needing deletion]]|Template=template[[Category:Templates needing deletion]]|Category=category[[Category:Articles needing deletion]]|#default=page[[Category:Articles needing deletion]]}} may meet Zelda Wiki's [[Zelda Wiki:Quality Standards|criteria for deletion]].
|header = This {{#var:type}} may meet Zelda Wiki's [[Zelda Wiki:Quality Standards|criteria for deletion]].
|reason= {{{1|}}}
|info  = {{#if:{{{1|}}}|The given reason is: ''{{{1|No reason given}}}''<br />|}} Discuss this on the {{#var:type}}'s {{Talk|talk page}}, and if possible, '''<span class="plainlinks">[{{SERVER}}{{localurl:{{PAGENAME}}|action=edit}} improve the {{#var:type}}]</span>''' in order to extend its life.{{#if:{{{2|}}}|<br />This {{#var:type}} has been flagged for deletion since '''{{{2}}}'''.}}
|info= {{#if:{{{2|}}}|This {{#switch:{{NAMESPACE}}|=article|File=file|Template= template|Category=category|#default=page}} has been flagged for deletion since '''{{{2}}}'''.}}
}}<includeonly>{{#ifeq:{{{3}}}|nocat||[[Category:Articles for deletion]]}}</includeonly><noinclude>
}}{{#invoke:Delete|Categories}}</includeonly><noinclude>{{Documentation}}[[Category:Maintenance templates]]</noinclude>
==Purpose==
This template is a notice placed at the beginning of articles to notify users that an article has been marked for deletion.
 
==Usage==
To use this template, add <code>{{tl|delete|reason|date}}</code> at the top of the page deemed worthy of it.
 
Pages flagged with this template are added to [[:Category:Articles for deletion]]. Entering any text in a third parameter manually sorts the page. Entering "nocat" [[Help:Category suppression|suppresses the category]].
 
[[Category:Maintenance templates]]</noinclude>