Difference between revisions of "Template:ArticleToDelete"

[quality revision] [quality revision]
m
m
 

1 Usage[edit]

The ArticleToDelete template is used to request the deletion of a page. It should be added as the very first line on the page that you believe should be deleted from the wiki.

It puts a message box with a "pink garbage can" icon in the page, and adds this page to the Candidates for deletion category.

Wiki maintainers periodically have a look at this category, and delete the pages that belong to it.

Usage:  {{ArticleToDelete | <reason> | <signature>}}

Where <reason> and <signature> are mandatory parameters:

  • <reason> is the reason supplied for the deletion
  • <signature> is the signature of the requester. It is recommended to use ~~~~ wiki markup to sign the request

2 Basic examples[edit]

You type You get
Deletion requested: reason and signature supplied
{{ArticleToDelete | This is the reason for this request | ~~~~}}
Deletion.png This page is a candidate for deletion.
The supplied reason is: This is the reason for this request .
-- Jean-Christophe Trotin (talk) 10:32, 7 May 2019 (CEST).
Wiki maintainers: remember to check if anything links this page before deleting it.

3 More examples[edit]

You type You get
Deletion requested: no reason supplied, no signature supplied
{{ArticleToDelete}}
Deletion.png This page is a candidate for deletion.
No reason supplied!
No signature supplied!
Wiki maintainers: remember to check if anything links this page before deleting it.
Deletion requested: reason supplied with few words, no signature supplied
{{ArticleToDelete | This is the reason for this request}}
Deletion.png This page is a candidate for deletion.
The supplied reason is: This is the reason for this request.
No signature supplied!
Wiki maintainers: remember to check if anything links this page before deleting it.
Deletion requested: no reason supplied, signature supplied
{{ArticleToDelete | | ~~~~}}
Deletion.png This page is a candidate for deletion.
No reason supplied!
-- Jean-Christophe Trotin (talk) 10:32, 7 May 2019 (CEST).
Wiki maintainers: remember to check if anything links this page before deleting it.
Deletion requested: reason supplied with a long sentence, signature supplied
{{ArticleToDelete | The reason is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli. | ~~~~}}
Deletion.png This page is a candidate for deletion.
The supplied reason is: The reason is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli. .
-- Jean-Christophe Trotin (talk) 10:32, 7 May 2019 (CEST).
Wiki maintainers: remember to check if anything links this page before deleting it.
Check that the spaces before and after the message
BEFORE{{ArticleToDelete | Check spaces | ~~~~}}AFTER<br>
BEFORE
{{ArticleToDelete | Check spaces | ~~~~}}
AFTER

BEFORE

Deletion.png This page is a candidate for deletion.
The supplied reason is: Check spaces .
-- Jean-Christophe Trotin (talk) 15:52, 18 December 2019 (CET).
Wiki maintainers: remember to check if anything links this page before deleting it.
AFTER

BEFORE

Deletion.png This page is a candidate for deletion.
The supplied reason is: Check spaces .
-- Jean-Christophe Trotin (talk) 15:52, 18 December 2019 (CET).
Wiki maintainers: remember to check if anything links this page before deleting it.

AFTER

4 Maintenance[edit]

This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.


5 Code[edit]

Deletion.png This page is a candidate for deletion.
No reason supplied!
No signature supplied!
Wiki maintainers: remember to check if anything links this page before deleting it.
<noinclude>

==Usage==
The [[Template:ArticleToDelete|ArticleToDelete]] template is used '''to request the deletion of a page'''. It should be added as the very first line on the page that you believe should be deleted from the wiki.

It puts a message box with a "pink garbage can" icon in the page, and adds this page to the [[:Category:Candidates for deletion|Candidates for deletion]] category.

Wiki maintainers periodically have a look at this category, and delete the pages that belong to it.

 Usage:  <nowiki>{{</nowiki>ArticleToDelete | {{HighlightParam|<reason>}} | {{HighlightParam|<signature>}}}}
Where {{HighlightParam|<reason>}} and {{HighlightParam|<signature>}} are '''mandatory''' parameters:
* {{HighlightParam|<reason>}} is the reason supplied for the deletion
* {{HighlightParam|<signature>}} is the signature of the requester. It is recommended to use <code><nowiki>~~~~</nowiki></code> wiki markup to sign the request

==Basic examples==
{| class="st-table"
! You type !! You get
|-
| Deletion requested: reason and signature supplied<pre style="white-space: pre-wrap;">

{{ArticleToDelete | This is the reason for this request | ~~~~}}</pre>

|
{{ArticleToDelete | This is the reason for this request | [[User:Jean Christophe Trotin|Jean Christophe Trotin]] ([[User talk:Jean Christophe Trotin|talk]]) 10:32, 7 May 2019 (CEST)}}
|}

==More examples==
{| class="st-table"
! You type !! You get
|-
| Deletion requested: no reason supplied, no signature supplied<pre style="white-space: pre-wrap;">

{{ArticleToDelete}}</pre>

|
{{ArticleToDelete}}
|-
| Deletion requested: reason supplied with few words, no signature supplied<pre style="white-space: pre-wrap;">

{{ArticleToDelete | This is the reason for this request}}</pre>

|
{{ArticleToDelete | This is the reason for this request}}
|-
| Deletion requested: no reason supplied, signature supplied<pre style="white-space: pre-wrap;">

{{ArticleToDelete | | ~~~~}}</pre>

|
{{ArticleToDelete | | [[User:Jean Christophe Trotin|Jean Christophe Trotin]] ([[User talk:Jean Christophe Trotin|talk]]) 10:32, 7 May 2019 (CEST)}}
|-
| Deletion requested: reason supplied with a long sentence, signature supplied<pre style="white-space: pre-wrap;">

{{ArticleToDelete | The reason is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli. | ~~~~}}</pre>

|
{{ArticleToDelete | The reason is a long sentence. Lorem ipsum: isdem diebus Apollinaris Domitiani gener, paulo ante agens palatii Caesaris curam, ad Mesopotamiam missus a socero per militares numeros immodice scrutabatur, an quaedam altiora meditantis iam Galli. | [[User:Jean Christophe Trotin|Jean Christophe Trotin]] ([[User talk:Jean Christophe Trotin|talk]]) 10:32, 7 May 2019 (CEST)}}
|-
| Check that the spaces before and after the message<pre style="white-space: pre-wrap;">

BEFORE{{ArticleToDelete | Check spaces | ~~~~}}AFTER<br>

BEFORE
{{ArticleToDelete | Check spaces | ~~~~}}
AFTER</pre>

|
BEFORE{{ArticleToDelete | Check spaces | [[User:Jean Christophe Trotin|Jean Christophe Trotin]] ([[User talk:Jean Christophe Trotin|talk]]) 15:52, 18 December 2019 (CET)}}AFTER<br>

BEFORE
{{ArticleToDelete | Check spaces | [[User:Jean Christophe Trotin|Jean Christophe Trotin]] ([[User talk:Jean Christophe Trotin|talk]]) 15:52, 18 December 2019 (CET)}}
AFTER
|}	

==Maintenance==
This template is a template common to all ST wikis. <br>

Modifications must be done into the [[stwikimodel:Template:ArticleToDelete|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>

When approved, the template can be pushed/merged towards all ST wikis.

==Code==</noinclude>{|  class="st-table" style="border-color: {{STPink}}; border-left-width: 10px;"
| style="border-right-width: 0px;" | [[File:Deletion.png|40px|link=]]
| style="border-left-width: 0px;" | '''This page is a candidate for deletion'''.<br />{{#if: {{{1|}}}|The supplied reason is: {{{1}}}.|{{Highlight|No reason supplied!}}}}<br />{{#if: {{{2|}}}|-- {{{2}}}.|{{Highlight|No signature supplied!}}}}<br />Wiki maintainers: remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|if anything links this page]] before deleting it.
|}<includeonly>[[Category:Candidates for deletion]] {{NoIndex}} </includeonly>
(2 intermediate revisions by the same user not shown)
Line 69: Line 69:
 
AFTER
 
AFTER
 
|}
 
|}
  +
  +
==Maintenance==
  +
This template is a template common to all ST wikis. <br>
  +
Modifications must be done into the [[stwikimodel:Template:ArticleToDelete|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>
  +
When approved, the template can be pushed/merged towards all ST wikis.
  +
   
 
==Code==
 
==Code==
Line 74: Line 80:
 
| style="border-right-width: 0px;" | [[File:Deletion.png|40px|link=]]
 
| style="border-right-width: 0px;" | [[File:Deletion.png|40px|link=]]
 
| style="border-left-width: 0px;" | '''This page is a candidate for deletion'''.<br />{{#if: {{{1|}}}|The supplied reason is: {{{1}}}.|{{Highlight|No reason supplied!}}}}<br />{{#if: {{{2|}}}|-- {{{2}}}.|{{Highlight|No signature supplied!}}}}<br />Wiki maintainers: remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|if anything links this page]] before deleting it.
 
| style="border-left-width: 0px;" | '''This page is a candidate for deletion'''.<br />{{#if: {{{1|}}}|The supplied reason is: {{{1}}}.|{{Highlight|No reason supplied!}}}}<br />{{#if: {{{2|}}}|-- {{{2}}}.|{{Highlight|No signature supplied!}}}}<br />Wiki maintainers: remember to check [[Special:Whatlinkshere/{{FULLPAGENAME}}|if anything links this page]] before deleting it.
|}<includeonly>[[Category:Candidates for deletion]]</includeonly>
+
|}<includeonly>[[Category:Candidates for deletion]] {{NoIndex}} </includeonly>