Template:Deadline: Difference between revisions
Jump to navigation
Jump to search
(Draft template, this could motivate some users to correct/translate/etc. pages) |
(Forgot to set end of the year date) |
||
Line 2: | Line 2: | ||
{{Doc}} | {{Doc}} | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly> | ||
{{#switch: {{#expr:{{#time:YmdHis|{{{month| | {{#switch: {{#expr:{{#time:YmdHis|{{{month|12}}}/{{{day|31}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} <= {{#time:YmdHis|{{CURRENTTIMESTAMP}}|America/Los_Angeles}} | 1 | 0 }} | ||
<!-- if invalid time set then throw the error --> | <!-- if invalid time set then throw the error --> | ||
| #default = {{#time:YmdHis|{{{month| | | #default = {{#time:YmdHis|{{{month|12}}}/{{{day|31}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} | ||
<!-- ------------ Default ------------ --> | <!-- ------------ Default ------------ --> | ||
| 0 = {{Metanotice | | 0 = {{Metanotice | ||
Line 10: | Line 10: | ||
| id = [[File:Info_content.png|40px|link=]] | | id = [[File:Info_content.png|40px|link=]] | ||
| text = <strong>This article will be marked as a [[Help:Deletion|candidate for speedy deletion]] on <span style="color:yellow">{{#time:F j, Y, H:i | {{{month| | | text = <strong>This article will be marked as a [[Help:Deletion|candidate for speedy deletion]] on <span style="color:yellow">{{#time:F j, Y, H:i | {{{month|12}}}/{{{day|31}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} (PST)</span> for the following reason:</strong> | ||
''{{{reason|{{Error|No reason given!}} }}}'' | ''{{{reason|{{Error|No reason given!}} }}}'' | ||
If the article is not corrected by the deadline, it will be considered for speedy deletion. Time remaining before the page is deleted: <span style="color:yellow"> {{#expr: ({{#time:U|{{{month| | If the article is not corrected by the deadline, it will be considered for speedy deletion. Time remaining before the page is deleted: <span style="color:yellow"> {{#expr: ({{#time:U|{{{month|12}}}/{{{day|31}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} - {{#time:U|{{CURRENTTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} <!-- | ||
-->{{PLURAL: {{#expr: ({{#time:U|{{{month| | -->{{PLURAL: {{#expr: ({{#time:U|{{{month|12}}}/{{{day|31}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} - {{#time:U|{{CURRENTTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} |Day|Days}}.</span><!-- | ||
--><br>{{Delete/strings|if you}} <!-- | --><br>{{Delete/strings|if you}} <!-- | ||
-->{{#ifexist:Project:Reasons_for_speedy_deletion/{{FULLPAGENAME}} | -->{{#ifexist:Project:Reasons_for_speedy_deletion/{{FULLPAGENAME}} | ||
Line 36: | Line 36: | ||
| id = [[File:warning_icon.png|40px|link=]] | | id = [[File:warning_icon.png|40px|link=]] | ||
| text = <strong>This article has been marked as a [[Help:Deletion|candidate for speedy deletion]] by the [[Template:Deadline|Deadline template]] since <span style="color:yellow">{{#time:F j, Y, H:i | {{{month| | | text = <strong>This article has been marked as a [[Help:Deletion|candidate for speedy deletion]] by the [[Template:Deadline|Deadline template]] since <span style="color:yellow">{{#time:F j, Y, H:i | {{{month|12}}}/{{{day|31}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}}</span> for the following reason:</strong> | ||
''{{{reason|{{Error|No reason given!}} }}}'' | ''{{{reason|{{Error|No reason given!}} }}}'' | ||
Revision as of 04:28, 10 April 2025

This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.
Remember to check for any notes left by the tagger at this article's talk page.
The above documentation is transcluded from Template:Deadline/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.