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
cleanup and additional param
m Rewrite/update documentation.
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
;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 page may be deleted.  Pages may be marked for deletion if they are no longer relevant or are of limited utility. Putting this template on a page automatically adds it to category [[:Category:Candidates for deletion|Candidates for deletion]].
;Syntax
: This template will automatically adapt its text based on the [[mediawikiwiki:Help:Namespaces|namespace]] in which it is used.
:Type <code>{{t|Deletion}}</code> at the top of the page.
:: {|
;Sample output
!Namespace!!text
:<code><nowiki>{{Deletion}}</nowiki></code> produces this banner:
|-
:{{Deletion}}
|Main|| article
;Optional descriptor
|-
:Type <code>{{t|Deletion|Example reason given}}</code> at the top of the page.
|File||file
;Sample output
|-
:<code><nowiki>{{Deletion|Request of author.}}</nowiki></code> produces this banner:
|Template||template
:{{Deletion|Request of author.}}
|-
|Category||category
|-
|all other||page
|}


Putting this template on a page also adds it to the [[:Category:Candidates for Deletion|Candidates for Deletion]] category.
; Dependencies
:: Uses:
:: {{Tl|Banner}}


<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
; Syntax
: {{T|Deletion|Reason for deletion}}
 
; Sample output
: <code><nowiki>{{Deletion}}</nowiki></code> produces the banner as above.
 
: <code><nowiki>{{Deletion|Request of author.}}</nowiki></code> gives:<!--
 
Not using the actual template to avoid the automatic category assigning.
 
-->
{{Banner|color= #990000|border= #990000
|'''This article is a candidate for deletion.'''<br> Reason: ''Request of author.''}}
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>