Difference between revisions of "Template:Delete"

From The Shartak Wiki
Jump to navigationJump to search
m (Sorted under D's in Category:Templates.)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| border="1" cellpadding="5" cellspacing="1" align="center" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9; 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="background-color: #800; color: #fff; text-align: center;" | '''Delete'''
+
|style="width:50px; height:50px; text-align:center"| [[Image:Warning.png|50px]]
|-
+
|| This page or file has been '''nominated for deletion'''. Discussion of this nomination is encouraged on the '''[[Category talk:Delete#{{FULLPAGENAME}}|deletions talk page]]'''.
| This page or file was marked for deletion on {{{2}}}{{{1}}}. If you believe that the deletion is not [[Category talk:Delete#Valid reasons for deletion|warranted]], please explain why on the [[Category talk:Delete|deletions talk page]].
+
{{#ifeq:{{{time|}}}|||
|}[[Category:Delete]]</includeonly><noinclude>
+
{{!}} 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>||
+
 
{| border="1" cellpadding="5" cellspacing="1" align="center" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9; width: 300px"
+
The result is this:
| style="background-color: #800; color: #fff; text-align: center;" | '''Delete'''
+
{{delete
|-
+
| time  = 01:07, 2 August 2006 (UTC)
| This page or file was marked for deletion on 16:31, 19 June 2006 (BST). If you believe that the deletion is not [[Category talk:Delete#Valid reasons for deletion|warranted]], please explain why on the [[Category talk:Delete|deletions talk page]].
+
| reason = There is no useful information on this page.
|}
+
| nocat  = true
|-
+
}}
|<nowiki>{{delete| because there is already a page for this|~~~~~}}</nowiki>||
 
{| border="1" cellpadding="5" cellspacing="1" align="center" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9; width: 300px"
 
| style="background-color: #800; color: #fff; text-align: center;" | '''Delete'''
 
|-
 
| This page or file was marked for deletion on 16:31, 19 June 2006 (BST) because there is already a page for this. If you believe that the deletion is not [[Category talk:Delete#Valid reasons for deletion|warranted]], please explain why on the [[Category talk:Delete|deletions talk page]].
 
|}
 
|}
 
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