Difference between revisions of "Template:Delete"

From The Shartak Wiki
Jump to navigationJump to search
m (Made the reason blank by default.)
m (It looks like default null values don't work.)
Line 2: Line 2:
 
| style="background-color: #800; color: #fff; text-align: center;" | '''Delete'''
 
| style="background-color: #800; color: #fff; text-align: center;" | '''Delete'''
 
|-
 
|-
| This page or file has been marked for deletion{{{1|}}}. If you think deletion is not warranted, remove this template and explain why in your edit summary.
+
| This page or file has been marked for deletion{{{1}}}. If you think deletion is not warranted, remove this template and explain why in your edit summary.
 
|}[[Category:Delete]]</includeonly><noinclude>
 
|}[[Category:Delete]]</includeonly><noinclude>
 
This template is for pages and files for which deletion is recommended.
 
This template is for pages and files for which deletion is recommended.
  
 
<!-- The examples below copy the template rather than use it, because using it would mark this page itself for deletion. -->
 
<!-- The examples below copy the template rather than use it, because using it would mark this page itself for deletion. -->
 
+
{{delete}}
 
{| border="1" cellpadding="5" cellspacing="1" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9;"
 
{| border="1" cellpadding="5" cellspacing="1" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9;"
 
|-bgcolor="#ddd"
 
|-bgcolor="#ddd"
 
!Input !! Output
 
!Input !! Output
 
|-
 
|-
|<nowiki>{{delete}}</nowiki>||
+
|<nowiki>{{delete|}}</nowiki>||
 
{| border="1" cellpadding="5" cellspacing="1" align="center" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9; width: 300px"
 
{| 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'''
 
| style="background-color: #800; color: #fff; text-align: center;" | '''Delete'''
Line 26: Line 26:
 
|}
 
|}
 
|}
 
|}
 +
* Note that the "reason" string should begin with a space and end without a period.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 20:46, 28 May 2006

This template is for pages and files for which deletion is recommended.

Delete
This page or file has been marked for deletion{{{1}}}. If you think deletion is not warranted, remove this template and explain why in your edit summary.
Input Output
{{delete|}}
Delete
This page or file has been marked for deletion. If you think deletion is not warranted, remove this template and explain why in your edit summary.
{{delete| because there is already a page for this}}
Delete
This page or file has been marked for deletion because there is already a page for this. If you think deletion is not warranted, remove this template and explain why in your edit summary.
  • Note that the "reason" string should begin with a space and end without a period.