Difference between revisions of "Template:Deletion"

From EVE University Wiki
Jump to: navigation, search
m
m (Error correction.)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]] {{documentation}}</noinclude>
+
{{Banner
<includeonly>[[Category:Candidates for Deletion]]</includeonly>
+
|color= #990000
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #990000;">
+
|border= #990000
{| cellpadding="2" style="background-color: #990000; color: #FFFFFF; width: 100%; text-align:center;"
+
|'''This''' <noinclude>{{Co|light gray|<article / file / template / category / page>}}</noinclude>'''<includeonly>{{#switch: {{NAMESPACENUMBER}}
| '''This article is a candidate for deletion.''' {{#if: {{{1|}}}|Reason: ''{{{1}}}''|}}  
+
| 0= article
|}
+
| 6= file
</div>
+
| 10= template
 +
| 14= category
 +
| #default= page
 +
}}</includeonly> is a candidate for deletion.''' {{#if: {{{1|}}}|<br>}} Reason: ''{{{1|No reason was given.}}}''}}
 +
 
 +
<includeonly>[[Category:Candidates for deletion]]</includeonly>
 +
<noinclude>{{documentation}}</noinclude>

Latest revision as of 10:18, 2 February 2022

This <article / file / template / category / page> is a candidate for deletion. Reason: No reason was given.


Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to indicate that the page may be deleted. Pages may be marked for deletion if they are no longer relevant or are of limited utility. Putting this template on a page automatically adds it to category Candidates for deletion.
This template will automatically adapt its text based on the namespace in which it is used.
Namespace text
Main article
File file
Template template
Category category
all other page
Dependencies
Uses:
{{Banner}}
Syntax
{{Deletion|<Reason for deletion>}}
Sample output
{{Deletion}} produces the banner as above.
{{Deletion|Request of author.}} gives:
This article is a candidate for deletion.
Reason: Request of author.
Visit Template:Deletion/doc to edit this text! (How does this work?) (Refresh this text - why?)