Difference between revisions of "Template:Delete"

From The Shartak Wiki
Jump to navigationJump to search
(Recommended Template:Del instead (named fields are easier to work with, and it presents the reason for deletion more neutrally); hid the template from the top of the page to avoid confusion.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| cellspacing="0" style="background-color: #ffeeee; border:1px solid #ffcccc; margin: 1px auto; width: 300px"
+
<includeonly>{| cellspacing="0" cellpadding="5" style="background-color: #ffeeee; border:1px solid #ffcccc; font-size: 90%; line-height: 140%; margin: 1px auto; width: 300px"
| style="width:60px; height:60px; text-align:center" | [[Image:Warning.png|50px]]
+
|style="width:50px; height:50px; text-align:center"| [[Image:Warning.png|50px]]
| style="font-size: 90%; line-height: 140%; padding: 5px" | This page or file was '''nominated for deletion''' on {{{2}}}{{{1}}}. Discussion of this nomination is encouraged on the '''[[Category talk:Delete|deletions talk page]]'''.
+
|| This page or file has been '''nominated for deletion'''. Discussion of this nomination is encouraged on the '''[[Category talk:Delete#{{FULLPAGENAME}}|deletions talk page]]'''.
|}{{ifeq:{{{nocat|}}}||[[Category:Delete|{{PAGENAME}}]]}}</includeonly><noinclude>
+
{{#ifeq:{{{time|}}}|||
:''This template is being phased out. Please use [[Template:Del]] instead.''
+
{{!}} valign=top bgcolor=#fff7f7
This template is for pages and files for which deletion is recommended in accordance with [[Category talk:Delete#Valid reasons for deletion]]. [[:Category:Delete]] contains a full list of pages which have been tagged for deletion with this template.
+
|align=right|'''Time:'''||{{{time|}}}}}{{#ifeq:{{{reason|}}}|||
 +
{{!}} valign=top bgcolor=#fff7f7
 +
|align=right|'''Reason:'''||{{{reason|}}}}}
 +
|}{{#ifeq:{{{nocat|}}}||[[Category:Delete|{{PAGENAME}}]]}}</includeonly><noinclude>
 +
This template is for pages and files for which deletion is recommended in accordance with [[The Shartak Wiki:Policies and guidelines#Deletions|policy]]. [[:Category:Delete]] contains a full list of pages which have been tagged for deletion with this template.
  
<!-- The examples below copy the template rather than use it, because using it would mark this page itself for deletion. -->
+
==Usage==
 +
To nominate a page for deletion, place the following code at the top of the page and summarize your reasoning in the ''reason'' field.
  
{| border="1" cellpadding="5" cellspacing="1" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9;"
+
<nowiki>{{delete</nowiki>
|-bgcolor="#ddd"
+
| time  = <nowiki>~~~~~</nowiki>
!Input !! Output
+
| reason = '''There is no useful information on this page.'''
|-
+
}}
|<nowiki>{{delete||~~~~~}}</nowiki>||
+
 
{{delete||23:26, 1 August 2006 (UTC)|nocat=true}}
+
The result is this:
|-
+
{{delete
|<nowiki>{{delete| because there is already a page for this|~~~~~}}</nowiki>||
+
| time  = 01:07, 2 August 2006 (UTC)
{{delete| because there is already a page for this|23:26, 1 August 2006 (UTC)|nocat=true}}
+
| reason = There is no useful information on this page.
|}
+
| nocat = true
Notes:
+
}}
* The "reason" string should begin with a space and end without a period.
 
* The template must contain a pipe ("|") even when no reason for deletion is given.
 
  
 
[[Category:Templates|Delete]]</noinclude>
 
[[Category:Templates|Delete]]</noinclude>

Latest revision as of 22:46, 3 September 2008

This template is for pages and files for which deletion is recommended in accordance with policy. Category:Delete contains a full list of pages which have been tagged for deletion with this template.

Usage

To nominate a page for deletion, place the following code at the top of the page and summarize your reasoning in the reason field.

{{delete
| time   = ~~~~~
| reason = There is no useful information on this page.
}}

The result is this:

Warning.png This page or file has been nominated for deletion. Discussion of this nomination is encouraged on the deletions talk page. valign=top bgcolor=#fff7f7