Difference between revisions of "Template:Delete"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Clean up code (I rewrote useless code {{{category|}}} as a check for nocat == y), rearrange, add →‎Usage)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
{| style="color:black;background-color:#ff9;border:1px solid #606060;margin:1em 5%;"
 +
| style="padding:0.5em;" | [[File:Deletion icon.png|24px|alt=|link=]]
 +
| style="padding:0.5em;" | '''Proposed for speedy deletion:''' This page is proposed for speedy deletion.
 +
|}<includeonly>{{#ifeq:{{{nocat|}}}|y| |[[Category:Candidates for speedy deletion]]}}</includeonly><noinclude>
 +
== Usage ==
 +
* Place <nowiki>{{Delete}}</nowiki> or <nowiki>{{Spam}}</nowiki> on page to request deletion
 +
* Place <nowiki>{{Delete|nocat=y}}</nowiki> or <nowiki>{{Spam|nocat=y}}</nowiki> on page to show the banner without adding to [[:Category:Candidates for speedy deletion]]
 +
 
 
[[Category:Maintenance templates]]
 
[[Category:Maintenance templates]]
 
</noinclude>
 
</noinclude>
{| style="background-color:#ffff99;color:#000000;border:1px solid #606060;margin:1em 5% 1em 5%;"
 
| style="padding:0.5em 0.5em;" |
 
| style="padding:0.5em 0.5em;" | [[File:Deletion icon.png|24px|alt=|link=]] <b>Proposed for speedy deletion:</b> This page is proposed for speedy deletion.
 
|}
 
<includeonly>{{{category|}}}</includeonly>
 
<noinclude>
 
 
</noinclude>
 
<includeonly> [[Category:Candidates for speedy deletion]] </includeonly>
 

Latest revision as of 09:01, 18 April 2019

Proposed for speedy deletion: This page is proposed for speedy deletion.

Usage