Template:Deletion: Difference between revisions
m (removed "speedy" from note. It was added to both variants.) |
m (change background colors to variables) |
||
Line 48: | Line 48: | ||
{{ll|Category:Mbox}} | {{ll|Category:Mbox}} | ||
</noinclude><includeonly>{{Mbox | </noinclude><includeonly>{{Mbox | ||
| background = {{yesno|{{{speedy|}}}|yes= | | background = {{yesno|{{{speedy|}}}|yes=var(--background-message-error)|no=var(--background-mw)}} | ||
| color = #b22222 | | color = #b22222 | ||
| sign = [[File:Imbox deletion.png|link=Template:Deletion{{lcs}}]] | | sign = [[File:Imbox deletion.png|link=Template:Deletion{{lcs}}]] |
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.