Template:Deletion: Difference between revisions

From PZwiki
(changed template to use Template:NoticeBox)
m (change background colors to variables)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr: {{{speedy|0}}}=0|
<noinclude>
{{NoticeBox
{{Protection|This template is considered '''High Risk''' as it appears on a large number of pages.}}
| type = delete
{{Documentation/sandbox|doc=
| image = none
This template is used to mark pages that are supposed to be deleted by the PZwiki [[PZwiki:Administrators|administrators]]. Once added, the notice should only be removed by an admin, or the user that added it.  
| style = font-size:125%; text-align:center;
| text = [[File:Imbox_deletion.png]] '''Notice:''' ''This article has been '''nominated for deletion'''. [[File:Imbox_deletion.png]]''<br>'''Reason given:''' ''{{{1|Reason not given.}}}''<br><br><span style="font-size:90%;">This notice should be left on this page for a minimum of 1 week. After this period, if no objections have been raised, this article (and any subpages) will be deleted. If it has been decided that this article should not be deleted, this notice should be removed immediately. <br>'''Reminder:''' Articles of low quality which still address important game concepts should be improved, not deleted. Users may recommend this article for improvement at the [[PZwiki:Community_portal|Community Portal]].<br><br>All discussion on the topic of this nomination for deletion should be directed to the following page: [[{{FULLPAGENAME}}/Deletion]].</span>}}|
{{NoticeBox
| type = speedy
| image = none
| style = font-size:125%; text-align:center;
| text = [[File:Imbox_deletion.png]] '''Notice:''' ''This article is a candidate for '''speedy deletion'''. [[File:Imbox_deletion.png]]''<br>'''Reason given:''' ''{{{1|Reason not given.}}}''<br><br><span style="font-size:90%;text-align:left;">In order to qualify for speedy deletion, an article '''must''' meet the following requirements:<br>
{{{!}} class="wikitable" style="background-color: #eee; border: 1px solid #aaa; font-size:90%; text-align:left; margin: 20px 20px;"
{{!}}
* The article must not be in accordance with the [[PZwiki:Wiki rules{{!}}wiki guidelines]].
* The article must not concern a considerably important concept in [[Project Zomboid]]. Articles of low quality which still address important game concepts should be [[Template:Improve|improved]], not deleted.
* The article must show an obvious need for deletion.
{{!}}}
Should an article not meet the above requirements for speedy deletion, this notice should be replaced with a normal deletion request instead. After three days, this article (and any subpages) will be deleted pending administrator review. Users may discuss this request for speedy deletion on the article's [[{{TALKPAGENAME}}|talk page]].</span>}} }}


==Usage==
===Parameters===
;<code>1</code>
:Reason for deletion. Not recommended keeping this parameter empty.
;<code>speedy</code>
:If set to <code>true</code>, the template will give a [[#Speedy deletion|speedy deletion]] notice. Otherwise, it will give a [[#Deletion|normal deletion]] notice.
;<code>hidecat</code>
:If set to <code>true</code>, the template will not add the page to the "[[:Category:Pages requested for deletion|Pages requested for deletion]]" or "[[:Category:Pages requested for speedy deletion|Pages requested for speedy deletion]]" categories.


</includeonly><noinclude>{{documentation}}{{deletion}}</noinclude>
==Examples==
*{{tll|Deletion|example reason.}} - A non-speedy (default) deletion notice for "example reason".
{{Deletion|example reason.|hidecat=true}}
*{{tll|Deletion|example reason 2.|speedy=true}} - A speedy deletion notice for "example reason 2".
{{Deletion|example reason 2.|speedy=true|hidecat=true}}
 
==Deletion type==
===Deletion===
This notice should ideally be left on this page for at least some time, a minimum of ''1 week'' is suggested. After this period, if no objections have been raised, this page (and any subpages) will be deleted. If it has been decided that this page should not be deleted, this notice should be removed by an admin or the user that added it.
 
{{Note|content=Articles of low quality which still address important game concepts should be improved, not deleted. Users may recommend this article for improvement at the {{ll|PZwiki:Community portal|community portal}}.}}
 
===Speedy deletion===
In order to qualify for speedy deletion, an article '''must''' meet the following requirements:
*The article must not be in accordance with the {{ll|PZwiki:Rules|wiki guidelines}}.
*The article must not concern a considerably important concept in {{ll|Project Zomboid|Project Zomboid}}.
*:Articles of low quality which still address important game concepts should be {{ll|Template:Improve|improved}}, not deleted.
*The article must show an obvious need for deletion.
 
Should a page not meet the above requirements for speedy deletion, this notice should be replaced with a normal deletion request instead.
 
{{Translation guide|<syntaxhighlight lang="html">
{{#switch: {{{1|}}}
| title = This page is a candidate for {{ll|Template:Deletion|{{yesno|{{{2|}}}|yes=speedy deletion|no=deletion}}|#={{yesno|{{{2|}}}|yes=Speedy deletion|no=Deletion}}}}.
| reason = Reason
| note = This page (and any subpages) will be deleted after this notice was added, and no one has objected to its deletion. Users may discuss this request for deletion on the page's [[{{TALKPAGENAME}}|talk page]].
| #default = [[Category:Incorrect template usage]]
}}
</syntaxhighlight>}}
 
==See also==
*{{ll|PZwiki:Mboxes}}
}}
{{ll|Category:Mbox}}
</noinclude><includeonly>{{Mbox
| background = {{yesno|{{{speedy|}}}|yes=var(--background-message-error)|no=var(--background-mw)}}
| color = #b22222
| sign = [[File:Imbox deletion.png|link=Template:Deletion{{lcs}}]]
| title = {{tt|name=Deletion
  | default = This page is a candidate for {{ll|Template:Deletion|{{yesno|{{{speedy|}}}|yes=speedy deletion|no=deletion}}|#={{yesno|{{{speedy|}}}|yes=Speedy deletion|no=Deletion}}}}.
  | arg1 = title
  | arg2 = {{{speedy|}}}
  }}
| content = {{#if:{{{1|}}}|{{tt|name=Deletion
  | default = Reason
  | arg1 = reason
  }}: {{{1}}}}}
| note = {{tt|name=Deletion
  | default = This page (and any subpages) will be deleted after being reviewed by an [[PZwiki:Administrators|admin]], and no one has objected to its deletion. Users may discuss this request for deletion on the page's [[{{TALKPAGENAME}}|talk page]]. Once added, this should only be removed by an admin, or the user that added it.
  | arg1 = note
  }}
| cat = {{yesno|{{{hidecat|}}}|yes=|no=Pages requested for {{yesno|{{{speedy|}}}|yes=speedy deletion|no=deletion}}}}
| id = delete{{yesno|{{{speedy|}}}|yes=-speedy|no=}}
}}</includeonly>

Latest revision as of 15:30, 4 April 2024

Lock-locked.png
This page has been put into protection by a PZwiki administrator.
Reason: This template is considered High Risk as it appears on a large number of pages.
Only users in the sysop user group may edit this page.
Notebook.pngTemplate Documentation

This template is used to mark pages that are supposed to be deleted by the PZwiki administrators. Once added, the notice should only be removed by an admin, or the user that added it.

Usage

Parameters

1
Reason for deletion. Not recommended keeping this parameter empty.
speedy
If set to true, the template will give a speedy deletion notice. Otherwise, it will give a normal deletion notice.
hidecat
If set to true, the template will not add the page to the "Pages requested for deletion" or "Pages requested for speedy deletion" categories.

Examples

  • {{Deletion|example reason.}} - A non-speedy (default) deletion notice for "example reason".
Imbox deletion.png
This page is a candidate for deletion.
Reason: example reason.
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.
  • {{Deletion|example reason 2.}} - A speedy deletion notice for "example reason 2".
Imbox deletion.png
This page is a candidate for speedy deletion.
Reason: example reason 2.
This page (and any subpages) will be deleted after being reviewed by an admin, and no one has objected to its deletion. Users may discuss this request for deletion on the page's talk page. Once added, this should only be removed by an admin, or the user that added it.

Deletion type

Deletion

This notice should ideally be left on this page for at least some time, a minimum of 1 week is suggested. After this period, if no objections have been raised, this page (and any subpages) will be deleted. If it has been decided that this page should not be deleted, this notice should be removed by an admin or the user that added it.

LightBulbBlue.png
Articles of low quality which still address important game concepts should be improved, not deleted. Users may recommend this article for improvement at the community portal.

Speedy deletion

In order to qualify for speedy deletion, an article must meet the following requirements:

  • The article must not be in accordance with the wiki guidelines.
  • The article must not concern a considerably important concept in Project Zomboid.
    Articles of low quality which still address important game concepts should be improved, not deleted.
  • The article must show an obvious need for deletion.

Should a page not meet the above requirements for speedy deletion, this notice should be replaced with a normal deletion request instead.

How to translate

This template is translatable.

Template code

Paste the following code into the <includeonly> tag of the translated template and translate the text after each = sign (except for #default =).

{{#switch: {{{1|}}}
| title = This page is a candidate for {{ll|Template:Deletion|{{yesno|{{{2|}}}|yes=speedy deletion|no=deletion}}|#={{yesno|{{{2|}}}|yes=Speedy deletion|no=Deletion}}}}.
| reason = Reason
| note = This page (and any subpages) will be deleted after this notice was added, and no one has objected to its deletion. Users may discuss this request for deletion on the page's [[{{TALKPAGENAME}}|talk page]].
| #default = [[Category:Incorrect template usage]]
}}

Template documentation

Copy the code wrapped in the <noinclude> tag in this template and translate the text after doc = in the {{Documentation}} template.

{{Translation guide}} template should be removed from the translated documentation.

See also

Editors can experiment in this template's sandbox.