Template:Delete/doc

Template page
< Template:Delete
Revision as of 15:26, 13 November 2018 by imported>Pcjbot
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: doc | doc | |

}} }}

[[File:Template-{{#if: | no | {{#if: | bad }} }}info.png|50px|bottom]] Documentation
{{#if: | This template has no documentation. If you know how to use this template, please add some.{{#ifeq: doc | doc | |}} |{{#if: | This template's documentation has been marked as bad. Please improve or add to it.{{#ifeq: doc | doc | |}}}} }}

This template will add tagged pages to Category:Candidates for deletion or Category:Candidates for speedy deletion.

Note: Put the tag between <noinclude> </noinclude> tags for deletion of transcluded pages.

Usage

{{{{#if:|subst:}}delete{{#if:Regular deletion reason| |Regular deletion reason }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

{{{{#if:|subst:}}delete{{#if:Speedy deletion reason| |Speedy deletion reason }}{{#if:speedy| |speedy }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}}

Parameters

parameter 1
reason for proposed deletion
parameter 2
Optional. For speedy deletions: speedy
{{#ifeq: doc | doc |

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

| }}