Template:Deletion: Difference between revisions
m (added protection notice) |
m (change background colors to variables) |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
< | <noinclude> | ||
{{ | {{Protection|This template is considered '''High Risk''' as it appears on a large number of pages.}} | ||
{{Documentation/sandbox|doc= | |||
| | 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== | |||
===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. | |||
==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
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".
{{Deletion|example reason 2.}}
- A speedy deletion notice for "example reason 2".
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.
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.