Template:Deletion: Difference between revisions

From PZwiki
(new layout)
m (change background colors to variables)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Protection|reason=This template is considered '''High Risk''' as it appears on a large number of pages.}}
{{Protection|This template is considered '''High Risk''' as it appears on a large number of pages.}}
{{Documentation/sandbox|doc =
{{Documentation/sandbox|doc=
This template is used to mark pages that are supposed to be deleted by the PZwiki [[PZwiki:Administrators|Administrators]].
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.  


==Usage==
==Usage==
<pre>{{Deletion|example reason}}</pre>
===Parameters===
Gives a non-speedy (default) deletion notice for "example reason".
;<code>1</code>
{{Deletion|example reason|hidecat=true}}
: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.


<pre>{{Deletion|example reason 2|speedy=true}}</pre>
==Examples==
Gives a speedy deletion notice for "example reason 2".
*{{tll|Deletion|example reason.}} - A non-speedy (default) deletion notice for "example reason".
{{Deletion|example reason 2|speedy=true|hidecat=true}}
{{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 type==
===Deletion===
===Deletion===
This notice should be left on this page for a minimum of ''1 week''. 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 immediately.
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.


''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 {{ll|PZwiki:Community portal|Community Portal}}.
{{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===
===Speedy deletion===
Line 25: Line 31:
*:Articles of low quality which still address important game concepts should be {{ll|Template:Improve|improved}}, not deleted.
*: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.
*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.
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">
{{Translation guide|<syntaxhighlight lang="html">
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
| title = This page is a candidate for {{ll|Template:Deletion|{{#if:{{{2|}}}|speedy deletion|deletion}}|#={{#if:{{{2|}}}|Speedy deletion|Deletion}}}}.
| 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
| reason = Reason
| note = This page (and any subpages) will be deleted if '''{{#if:{{{2|}}}|3 days|1 week}}''' after this notice was added and no one has objected to its deletion. Users may discuss this request for speedy deletion on the page's [[{{TALKPAGENAME}}|talk page]].
| 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]]
| #default = [[Category:Incorrect template usage]]
}}
}}
Line 37: Line 44:


==See also==
==See also==
*[[:Category:Pages requested for deletion]]
*{{ll|PZwiki:Mboxes}}
*[[:Category:Pages requested for speedy deletion]]
}}
}}
{{ll|Category:Maintenance templates}}
{{ll|Category:Mbox}}
{{ll|Category:Mbox templates}}
</noinclude><includeonly>{{Mbox
</noinclude><includeonly>{{Mbox
| background = {{#if:{{{speedy|}}}|#ffcccc|#ffeeee}}
| background = {{yesno|{{{speedy|}}}|yes=var(--background-message-error)|no=var(--background-mw)}}
| color = #b22222
| color = #b22222
| sign = [[File:Imbox deletion.png|link=Template:Deletion{{#ifeq:{{Language code}}|true|{{Subpage}}|}}]]
| sign = [[File:Imbox deletion.png|link=Template:Deletion{{lcs}}]]
| title = {{tt
| title = {{tt|name=Deletion
  | 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}}}}.
   | default = This page is a candidate for {{ll|Template:Deletion|{{#if:{{{speedy|}}}|speedy deletion|deletion}}|#={{#if:{{{speedy|}}}|Speedy deletion|Deletion}}}}.
   | arg1 = title
   | arg1 = title
   | arg2 = {{{speedy|}}}
   | arg2 = {{{speedy|}}}
   }}
   }}
| content = {{tt
| content = {{#if:{{{1|}}}|{{tt|name=Deletion
  | name = Deletion
   | default = Reason
   | default = Reason
   | arg1 = reason
   | arg1 = reason
   }}: {{#if:{{{1|}}}|{{{1}}}|...}}
   }}: {{{1}}}}}
| note = {{tt
| note = {{tt|name=Deletion
  | 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.  
   | default = This page (and any subpages) will be deleted if '''{{#if:{{{speedy|}}}|3 days|1 week}}''' after this notice was added and no one has objected to its deletion. Users may discuss this request for speedy deletion on the page's [[{{TALKPAGENAME}}|talk page]].
   | arg1 = note
   | arg1 = note
  | arg2 = {{{speedy|}}}
   }}
   }}
| cat = {{#if:{{{hidecat|}}}||Pages requested for{{#if:{{{speedy|}}}|_speedy}} deletion}}
| cat = {{yesno|{{{hidecat|}}}|yes=|no=Pages requested for {{yesno|{{{speedy|}}}|yes=speedy deletion|no=deletion}}}}
| id = mbox-delete{{#if:{{{speedy|}}}|2}}
| id = delete{{yesno|{{{speedy|}}}|yes=-speedy|no=}}
}}</includeonly>
}}</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.