Difference between revisions of "Template:Delete"
From PCGamingWiki, the wiki about fixing PC games
m (removed namespace check (it prevents files and other pages from being populated by the category)) |
m (added switch based on fullpagename -- exclude editing guide from being added to 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>[[Category:Candidates for deletion]]</includeonly><noinclude>{{Documentation}}</noinclude> | + | </div><div class="notice-padding"></div><includeonly>{{#switch: {{FULLPAGENAME}} |
+ | | PCGamingWiki:Editing guide/Article state = | ||
+ | | default = [[Category:Candidates for deletion]] | ||
+ | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 20:11, 4 July 2020
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=}}
Visit Template:Delete/Documentation to edit this text. (How does this work?)