Jump to content

Template:Delete: Difference between revisions

From Ferret Software Wiki
Gorasuhl (talk | contribs)
m changed icon
Gorasuhl (talk | contribs)
m formatting, added class nomobile (prevent box displayed on mobile)
 
Line 1: Line 1:
<includeonly>{{Notice
<includeonly>{{Notice
|width=50%
|align = center
|align=center
|class = nomobile
|file=Icon_Delete.png
|color = red
|filesize=100px
|colorBack = red
|color=red
|file = Icon_Delete.png
|colorBack=red
|filesize = 100px
|header='''This page is [[:Category:Pages marked for deletion|marked for deletion]]'''
|width = 50%
|content=The given reason is: ''{{{1|No reason has been provided.}}}''<br>
|header = '''This page is [[:Category:Pages marked for deletion|marked for deletion]]'''
If you disagree with its deletion, please discuss your reasons on this page or on its associated '''''{{#ifeq: {{ROOTPAGENAME}}|Delete|Discussion page|[[{{#ifeq: {{SUBPAGENAME}}|doc|{{TALKSPACE}}:{{BASEPAGENAME}}|{{TALKPAGENAME}}}}|<span class="pagetab">Discussion page</span>]]}}''''', as applicable.
|content = The given reason is: ''{{{1|No reason has been provided}}}''<br><!--
-->If you disagree with its deletion, please discuss your reasons on this page or on its associated '''''{{#ifeq: {{ROOTPAGENAME}}|Delete|Discussion page|[[{{#ifeq: {{SUBPAGENAME}}|doc|{{TALKSPACE}}:{{BASEPAGENAME}}|{{TALKPAGENAME}}}}|<span class="pagetab">Discussion page</span>]]}}''''', as applicable.
}}{{#if: {{{noCategories|}}}| |[[Category:Pages marked for deletion|{{FULLPAGENAME}}]]}}''</includeonly><noinclude>
}}{{#if: {{{noCategories|}}}| |[[Category:Pages marked for deletion|{{FULLPAGENAME}}]]}}''</includeonly><noinclude>
[[Category:Notice templates|{{PAGENAME}}]]{{/doc}}</noinclude>
[[Category:Notice templates|{{PAGENAME}}]]{{/doc}}</noinclude>

Latest revision as of 19:16, 16 June 2025

Documentation

This template is used for maintenance purposes to signal that a page is no longer needed and is suggested to be deleted. Marked pages will automatically be added to Category:Pages marked for deletion.

This template uses {{Notice}} to create the box and it's not visible on mobile devices (added class nomobile).

Usage

To use, put {{Delete|reason}} at the start of the page.

Parameters

Parameter[note 1] Data Type Status Default Value Description
Position or name Placeholder
1 reason String Optional No reason has been provided Reason why the page is suggested to be deleted.
noCategories - Boolean Optional - If given any value, the page will not be auto-categorized.

Notes

  1. Placeholders refer to the names used in the syntax above. For documentation purposes positioned parameters often have a pseudo name instead of their number to improve readabilty, e.g. reason instead of 1.
    Placeholder - indicates parameters that are not used by default and need to be added by hand, e.g. |noCategories = 1.

Example

{{Delete|Page is no longer needed}} produces:

This page is marked for deletion
The given reason is: Page is no longer needed
If you disagree with its deletion, please discuss your reasons on this page or on its associated Discussion page, as applicable.

See also