Difference between revisions of "Template:Delete"

From Sugar Labs
Jump to navigation Jump to search
Line 1: Line 1:
{| cellspacing=0 width=100% style="background:#ebebff; border:2px black solid; "
+
{{mbox
|-
+
| type = critical
|   [[Image:Trashcan.png]]
+
| text = '''This {{#switch: {{NAMESPACE}}  
| A request has been made for this page to be '''deleted'''.<br>If you disagree with its deletion, please explain why on [[{{TALKPAGENAME}}|its talk page]].<span style="font-size:80%; " class="plainlinks"><br>Before deleting verify that [{{fullurl:Special:Whatlinkshere|target={{FULLPAGENAMEE}}}} no links will break].</span>{{#if:{{{1|}}}|<hr>{{{1}}}}}
+
  | File = Image
|}<includeonly>[[Category:Pages for deletion|{{PAGENAME}}]]</includeonly><noinclude>
+
  | page
[[Category:Template]]
+
  }} is a candidate for deletion.''' The given reason is: '''''{{{1|No reason supplied!}}}'''''
== Usage ==
 
  
Pages that include this template are considered candidates for deletion from the wiki. Has one optional un-named parameter, that can be used to display a short reason or comment about the request for deletion.
+
This notice should remain for a '''minimum''' of 1 week after it was placed on the page. If discussion is still ongoing, it should remain until a consensus is reached, after which the page will either be deleted or this notice removed.
  
<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>
+
If you disagree with its deletion, please discuss your reasons on this page or on its associated talk page, as applicable.
<nowiki>{{</nowiki>{{PAGENAME}} | ''reason or comment'' <nowiki>}}</nowiki>
 
  
== Categories ==
+
Remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|if anything links here]] and [{{fullurl:{{FULLPAGENAME}}|action=history}} the page history] before deleting.
  
Pages tagged with this template will automatically be included in:
+
<small>Last edit by [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[User talk:{{REVISIONUSER}}|talk]] · [[Special:Contributions/{{REVISIONUSER}}|contrib]]) · Last edited on {{#time: r | {{REVISIONTIMESTAMP}} }}</small>
* [[:Category:Pages for deletion]]
+
}}<includeonly>{{#if: {{{nocat|}}}||[[Category:Candidates for deletion]]}}</includeonly><noinclude>
 +
== Standard deletion template ==
 +
'''Usage:''' <nowiki>{{delete|reason --~~~~}}</nowiki>
  
[[Category:PageFlaggingTemplate]]
+
This page puts a bold red warning at the top of the page and adds the page to the [[:Category:Candidates for deletion]].
[[Category:Templates using ParserFunctions]]
+
 
 +
It should be added as the very first line on pages that you believe should be deleted from the wiki.  This includes pages that no longer serve a useful purpose, pages whose content may be inappropriate (but which you are not sure about) and any other deletion that is not obviously a candidate for speedy deletion.
 +
 
 +
Use the template <nowiki>{{speedy|reason}}</nowiki> to speedy delete pages whose deletion would be uncontentious (vandalism, test pages, etc.)
 +
 
 +
[[Category:Admin templates|{{PAGENAME}}]]
 +
 
 +
== Example ==
 +
 
 +
{{Delete|nocat=true}}
 
</noinclude>
 
</noinclude>

Revision as of 20:28, 16 May 2011

Standard deletion template

Usage: {{delete|reason --~~~~}}

This page puts a bold red warning at the top of the page and adds the page to the Category:Candidates for deletion.

It should be added as the very first line on pages that you believe should be deleted from the wiki. This includes pages that no longer serve a useful purpose, pages whose content may be inappropriate (but which you are not sure about) and any other deletion that is not obviously a candidate for speedy deletion.

Use the template {{speedy|reason}} to speedy delete pages whose deletion would be uncontentious (vandalism, test pages, etc.)

Example