Difference between revisions of "Template:Delete"

From PCGamingWiki, the wiki about fixing PC games
m (added notice-deletion CSS class)
m (removed namespace check (it prevents files and other pages from being populated by the category))
Line 2: Line 2:
 
<div class="notice-icon">[[File:Guide icon.svg|link=|35px]]</div>
 
<div class="notice-icon">[[File:Guide icon.svg|link=|35px]]</div>
 
<div class="notice-text">This page is a [[:Category:Candidates for deletion|candidate for deletion]]. If you disagree with its status, please open a [[{{TALKPAGENAME}}|discussion]]. Reason: {{#if: {{{reason|}}} {{{1|}}} | {{{reason|{{{1}}}}}} | <span style="text-style: bold; color: red;">Please provide a reason for deletion.<includeonly>[[Category:Invalid template usage]]</includeonly></span> }}</div>
 
<div class="notice-text">This page is a [[:Category:Candidates for deletion|candidate for deletion]]. If you disagree with its status, please open a [[{{TALKPAGENAME}}|discussion]]. Reason: {{#if: {{{reason|}}} {{{1|}}} | {{{reason|{{{1}}}}}} | <span style="text-style: bold; color: red;">Please provide a reason for deletion.<includeonly>[[Category:Invalid template usage]]</includeonly></span> }}</div>
</div><div class="notice-padding"></div><includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Candidates for deletion]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
</div><div class="notice-padding"></div><includeonly>[[Category:Candidates for deletion]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 20:08, 4 July 2020

Guide icon.svg
This page is a candidate for deletion. If you disagree with its status, please open a discussion. Reason: Please provide a reason for deletion.
Documentation for the above template (sometimes hidden from view).
Description

Used to flag a resource for deletion. Populates the Candidates for deletion category.

Arguments
  • reason - Used to list the reason why the resource should be removed.
Syntax
{{Delete|reason=}}