Template:Delete/doc: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Corr.)
(Updated the /doc.)
Line 2: Line 2:
__NOTOC__
__NOTOC__
==Usage==
==Usage==
{{tl|delete}} creates an information box telling the user that the page is proposed for deletion. The box will show at the position on the page where you put the template, and stretch horizontally to fill the width of the available space and vertically depending on how many rows of text are needed.
{{tl|delete}} creates an information box telling the user that the page is proposed for deletion. The box will show at the position on the page where you put the template and stretch horizontally to fill at least 75 % of the width of the available space, and vertically depending on how many rows of text are needed.


To mark a page for deletion, add {{tlc|delete|Reason for deletion}} to the top of the page. '''<big>Do not remove the contents of the page when doing so!</big>'''
To mark a page for deletion, add {{tlc|delete|Reason for deletion&nbsp;|date{{=}}date of reporting&nbsp;}} to the top of the page. '''<big>Do not remove any of the existing contents of the page when doing so!</big>'''


==Parameter==
==Parameter==
There is only one parameter, which is unnamed (below called <code>1</code>) and required.
There are 2 parameters, of which 1 is unnamed and required, and 1 is named and optional.


===Syntax===
===Syntax===
Line 14: Line 14:
===Required parameter===
===Required parameter===
====1====
====1====
;<code>Reason for deletion</code>
;<big>Reason for deletion</big>
This parameter is used to provide an explanation and a motivation for why the page should be deleted. Give a good description of the circumstances. It is unnamed, so no parameter name needs to be entered.
This parameter is used to provide an explanation and a motivation for why the page should be deleted. Give a good description of the circumstances. It is unnamed, so no parameter name needs to be entered.


The text you enter will be prefixed by the string "<tt>This page is proposed for deletion:&nbsp;</tt>".
The text you enter will be prefixed by the string "<tt>This page is proposed for deletion:&nbsp;</tt>".


;Usage
;<big>Usage</big>
* {{tlc|delete|'''reason for deletion'''}}
* {{tlc|delete|<big>'''1'''</big>}}
 
===Optional parameter===
====date====
;<big>Date of reporting</big>
You can add the date of your report by using this parameter.
 
;<big>Note</big>
* Use a date format that can be understood across cultures, languages and borders, i.e. either by using the ISO standard ({{samp|YYYY-MM-DD}}), or by giving the name of the month in full or as an abbreviation (e.g. {{samp|24 Aug, 2014}}).
 
;<big>Usage</big>
* {{tlc|delete|1|<big>'''date{{=}}'''date value</big>}}
 
==Examples==
{| class="wikitable" style="background-color: white;"
|-
! Case !! What you type !! What you see
|-
| Basic use || {{tlc|delete|This page should be deleted for pure spite}} || {{delete|This page should be deleted by pure spite}}
|-
| With date || {{tlc|delete|This page should be deleted for pure spite|date{{=}}2015-01-02}} || {{delete|This page should be deleted by pure spite|date=2015-01-02}}
|}


==See also==
==See also==

Revision as of 14:21, 2 January 2015

Edit-copy green.svg
This is a documentation subpage for Template:Delete.
It contains usage information, categories and other content that is not part of the original template page.

Usage

{{delete}} creates an information box telling the user that the page is proposed for deletion. The box will show at the position on the page where you put the template and stretch horizontally to fill at least 75 % of the width of the available space, and vertically depending on how many rows of text are needed.

To mark a page for deletion, add {{delete|Reason for deletion |date=date of reporting }} to the top of the page. Do not remove any of the existing contents of the page when doing so!

Parameter

There are 2 parameters, of which 1 is unnamed and required, and 1 is named and optional.

Syntax

To use the template, type {{delete|reason for deletion}}.

Required parameter

1

Reason for deletion

This parameter is used to provide an explanation and a motivation for why the page should be deleted. Give a good description of the circumstances. It is unnamed, so no parameter name needs to be entered.

The text you enter will be prefixed by the string "This page is proposed for deletion: ".

Usage
  • {{delete|1}}

Optional parameter

date

Date of reporting

You can add the date of your report by using this parameter.

Note
  • Use a date format that can be understood across cultures, languages and borders, i.e. either by using the ISO standard (YYYY-MM-DD), or by giving the name of the month in full or as an abbreviation (e.g. 24 Aug, 2014).
Usage
  • {{delete|1|date=date value}}

Examples

Case What you type What you see
Basic use {{delete|This page should be deleted for pure spite}}
Do not edit this page THIS PAGE IS PROPOSED FOR DELETION
This page should be deleted by pure spite
With date {{delete|This page should be deleted for pure spite|date=2015-01-02}}
Do not edit this page THIS PAGE IS PROPOSED FOR DELETION 2015-01-02
This page should be deleted by pure spite

See also