Template:Deletion: Difference between revisions
m (Add not given) |
m (hide "reason" text when not given) |
||
Line 11: | Line 11: | ||
: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. | :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> | ;<code>hidecat</code> | ||
:If | :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== | ==Examples== | ||
A non-speedy (default) deletion notice for "example reason". | *{{tll|Deletion|example reason.}} - A non-speedy (default) deletion notice for "example reason". | ||
{{Deletion|example reason.|hidecat=true}} | {{Deletion|example reason.|hidecat=true}} | ||
*{{tll|Deletion|example reason 2.|speedy=true}} - A speedy deletion notice for "example reason 2". | |||
*{{tll|Deletion|example reason 2.|speedy=true}} | |||
{{Deletion|example reason 2.|speedy=true|hidecat=true}} | {{Deletion|example reason 2.|speedy=true|hidecat=true}} | ||
Line 34: | 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. | ||
Line 50: | Line 48: | ||
{{ll|Category:Mbox}} | {{ll|Category:Mbox}} | ||
</noinclude><includeonly>{{Mbox | </noinclude><includeonly>{{Mbox | ||
| background = {{ | | background = {{yesno|{{{speedy|}}}|yes=#ffcccc|no=#ffeeee}} | ||
| color = #b22222 | | color = #b22222 | ||
| sign = [[File:Imbox deletion.png|link=Template:Deletion{{lcs}}]] | | sign = [[File:Imbox deletion.png|link=Template:Deletion{{lcs}}]] | ||
Line 58: | Line 56: | ||
| arg2 = {{{speedy|}}} | | arg2 = {{{speedy|}}} | ||
}} | }} | ||
| content = {{tt|name=Deletion | | content = {{#if:{{{1|}}}|{{tt|name=Deletion | ||
| default = Reason | | default = Reason | ||
| arg1 = reason | | arg1 = reason | ||
}}: | }}: {{{1}}}}} | ||
| note = {{tt|name=Deletion | | note = {{tt|name=Deletion | ||
| default = 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 speedy deletion on the page's [[{{TALKPAGENAME}}|talk page]]. | | default = 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 speedy deletion on the page's [[{{TALKPAGENAME}}|talk page]]. | ||
| arg1 = note | | arg1 = note | ||
}} | }} | ||
| cat = {{yesno|{{{hidecat|}}}|yes=|no=Pages requested for{{yesno|{{{speedy|}}}|yes= | | cat = {{yesno|{{{hidecat|}}}|yes=|no=Pages requested for {{yesno|{{{speedy|}}}|yes=speedy deletion|no=deletion}}}} | ||
| id = delete{{yesno|{{{speedy|}}}|yes=-speedy|no=}} | | id = delete{{yesno|{{{speedy|}}}|yes=-speedy|no=}} | ||
}}</includeonly> | }}</includeonly> |
Revision as of 16:19, 13 January 2024
This template is used to mark pages that are supposed to be deleted by the PZwiki Administrators.
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.
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 speedy 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.