Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Deletion/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
m Changed Category from Template to Maintenance templates
m Add dependencies. Add sample output
Line 2: Line 2:
;Description
;Description
:This template is used to indicate that the current page may soon be deleted.  Pages may be marked for deletion if they are no longer relevant or are of limited utility.
:This template is used to indicate that the current page may soon be deleted.  Pages may be marked for deletion if they are no longer relevant or are of limited utility.
; Dependencies
:: Uses:
:: {{Tl|Banner}}
;Syntax
;Syntax
:Type <code>{{t|Deletion}}</code> at the top of the page.
:Type <code>{{t|Deletion}}</code> at the top of the page.
Line 8: Line 11:
;Optional descriptor
;Optional descriptor
:Type <code>{{t|Deletion|Example reason given}}</code> at the top of the page.
:Type <code>{{t|Deletion|Example reason given}}</code> at the top of the page.
;<!--Prevented to stop loopback. Telinchei 2015.
; Sample output <!--
 
Not using the actual template to avoid the automatic category assigning
 
-->
:<code><nowiki>{{Deletion|Request of author.}}</nowiki></code> produces this banner:
{{Banner|color= #990000|border= #990000
|'''This article is a candidate for deletion.'''<br> Reason: ''Request of author.''}}
 
<!--Prevented to stop loopback. Telinchei 2015.
  Sample output
  Sample output
:<code><nowiki>{{Deletion|Request of author.}}</nowiki></code> produces this banner:
:<code><nowiki>{{Deletion|Request of author.}}</nowiki></code> produces this banner:

Revision as of 15:51, 23 October 2021

Main article: Template:Deletion
Description
This template is used to indicate that the current page may soon be deleted. Pages may be marked for deletion if they are no longer relevant or are of limited utility.
Dependencies
Uses:
{{Banner}}
Syntax
Type {{Deletion}} at the top of the page.
Sample output
{{Deletion}} produces the banner as above
Optional descriptor
Type {{Deletion|<Example reason given>}} at the top of the page.
Sample output
{{Deletion|Request of author.}} produces this banner:
This article is a candidate for deletion.
Reason: Request of author.


Putting this template on a page also adds it to Category:Candidates for deletion.