Difference between revisions of "Template:Delete"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Reminder: Double-check before saving. Removed signature from reason in Usage section. It looks like crap in the template and is entirely redundant.)
m (Update, move doc)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; border:5px solid red; position:relative; min-width:50%; max-width:80%;"
+
{{Box|Delete.png|This {{#switch: {{NAMESPACE}}  
| [[File:Delete.png]]
+
|File=image
| This {{#switch: {{NAMESPACE}}  
+
|Template=template
| File = Image
+
|#default=page
| page  
+
}} has been nominated for deletion. Please contribute on the [[{{TALKPAGENAME}}{{#if: {{{2|}}}|&#35;{{{2}}}}}|discussion]] about this request.<br/>
}} has been nominated for deletion. <br />
+
{{#if: {{{1|}}}|The given reason is: '''''{{{1}}}'''''|'''''No reason supplied!'''''}}|type=error}}<includeonly>[[Category:Nominated for deletion]] {{#ifeq: {{uc:{{{1|}}}}}|SPAM|[[Category:Spam]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
The given reason is: '''''{{{1|No reason supplied!}}}'''''
 
|}
 
<includeonly>
 
[[Category:Nominated for Deletion]]
 
</includeonly>
 
<noinclude>
 
== Usage ==
 
Use this template only if there's good reason for the page to be deleted.<br />
 
<nowiki>{{Delete|Reason}}</nowiki>
 
[[Category:Templates|Protect]]
 
</noinclude>
 

Latest revision as of 17:18, 2 February 2020

This template has been nominated for deletion. Please contribute on the discussion about this request.

No reason supplied!

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Delete

Usage

Use this template only if there's good reason for the page to be deleted. This adds the page to Category:Nominated for deletion. If the reason is Spam it will also add the page to Category:Spam. The discussion topic is optional but should be supplied if available.

 {{Delete|Reason for deletion|Discussion topic}}