Template:Delete: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(Expanding category addition via Lua. Also, there doesn't need to be a custom word for every namespace.)
(& this should make this template run much faster)
Line 1: Line 1:
<includeonly>{{#vardefine:PageType|
<includeonly>{{Mbox
{{#switch:{{NAMESPACE}}
|= article
|File= file
|Template= template
|Category= category
|#default= page
}}}}{{Mbox
|image= [[File:ZW Delete Asset.png|50px]]
|image= [[File:ZW Delete Asset.png|50px]]
|header= This {{#var:PageType}} may meet Zelda Wiki's [[Zelda Wiki:Quality Standards|criteria for deletion]].
|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]].
|reason= {{{1|}}}
|reason= {{{1|}}}
|info= {{#if:{{{2|}}}|This {{#var:DeleteType}} 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}}}'''.}}
}}{{#invoke:Delete|Categories}}</includeonly><noinclude>{{Documentation}}[[Category:Maintenance templates]]</noinclude>
}}</includeonly><noinclude>{{Documentation}}[[Category:Maintenance templates]]</noinclude>

Revision as of 03:33, 26 March 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)