Template:Delete: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(automatic date input was setting the date to the latest revision to the page, not the date of the revision the template was put on. Changed it to be added manually via a second parameter (now optional to avoid unsightly code).)
(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.)
 
(31 intermediate revisions by 11 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}}}}{| width=600 cellspacing="3" align='center'
<includeonly>{{Mbox
|- valign="top"
|image= [[File:ZW Delete Asset.png|50px]]
|width="" style="border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}}"|[[File:Bombs TWW.png|60px|left]]
|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]].
<div style="padding: .4em .9em">
|reason= {{{1|}}}
<center>
|info= {{#if:{{{2|}}}|This {{#switch:{{NAMESPACE}}|=article|File=file|Template= template|Category=category|#default=page}} has been flagged for deletion since '''{{{2}}}'''.}}
This {{#var:type}} may meet Zelda Wiki's [[Zelda Wiki:Quality Standards|criteria for deletion]]{{#if:{{{1|}}}|, <span style="color:#a09090">'''because {{{1}}}'''</span>|}}. Discuss this on the {{#var:type}}'s {{Talk|talk page}}, and if possible, <b><span class="plainlinks">[{{SERVER}}{{localurl:{{PAGENAME}}|action=edit}} improve the {{#var:type}}]</span></b> in order to extend its life.{{#if:{{{2|}}}|<br>
}}{{#invoke:Delete|Categories}}</includeonly><noinclude>{{Documentation}}[[Category:Maintenance templates]]</noinclude>
<span style="font-size: 90%">This {{#var:type}} has been flagged for deletion since <b>{{{2}}}</b>.</span>}}
</center>
</div>
|}
<includeonly>[[Category:Articles for deletion|{{#if:{{{1|}}}|{{{1|}}}|{{PAGENAME}}}}]]</includeonly>
<noinclude>
== Usage ==
To use this template, add:{{NoWikiTemp|Optional|Reason (Optional)|Date}}<br>
at the top of the page deemed worthy of it.
 
[[Category:Notice Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:15, 1 April 2024

Purpose

This template marks a page for deletion, to be carried out by Staff at their earliest convenience.

Articles should be marked for deletion if they don't follow the Guidelines.

A file should be marked for deletion if it is:

  • unused
  • superseded by another file
  • a duplicate
  • violating copyright laws

The uploader of a file may request its deletion for any reason.

Usage

Place the following at the top of the page:

{{Delete|reason|date}}
#InputOutputCategories added
1{{Delete|Article is a fan-created name and has little information.|August 13, 2018}}
This template may meet Zelda Wiki's criteria for deletion.
Reason: Article is a fan-created name and has little information.
This template has been flagged for deletion since August 13, 2018.
2{{Delete|Unused file|August 13, 2022}}
This template may meet Zelda Wiki's criteria for deletion.
Reason: Unused file
This template has been flagged for deletion since August 13, 2022.
The above documentation is transcluded from Template:Delete/Documentation. (edit | history)