Template:Deadline: Difference between revisions

From Valve Developer Community
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|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} <= {{#time:YmdHis|{{CURRENTTIMESTAMP}}|America/Los_Angeles}} | 1 | 0 }}
{{#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|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}}
| #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|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} (PST)</span> for the following reason:</strong>
| 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>


&nbsp;&nbsp;''{{{reason|{{Error|No reason given!}} }}}''
&nbsp;&nbsp;''{{{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|1}}}/{{{day|1}}}/{{{year|2025}}} {{{time|23:59:59}}}|America/Los_Angeles}} - {{#time:U|{{CURRENTTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} <!--
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|1}}}/{{{day|1}}}/{{{year|2025}}} {{{time|23:59:59}}}|America/Los_Angeles}} - {{#time:U|{{CURRENTTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} |Day|Days}}.</span><!--
-->{{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|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}}</span> for the following reason:</strong>
| 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>
&nbsp;&nbsp;''{{{reason|{{Error|No reason given!}} }}}''
&nbsp;&nbsp;''{{{reason|{{Error|No reason given!}} }}}''



Revision as of 04:28, 10 April 2025

Icon-under construction-blue.png
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.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

For deleting pages that are passed the deadline, useful to delete pages that haven't been translated, corrected, etc. for a long time.

Parameters

The date is set for the end of the year.

Parameter Description Example
{{{reason}}} A required reason to give. | reason = An important reason
{{{time}}} (Optional) Specify the time. | time = 23:59 or | time = 11:59 PM
{{{day}}} (Optional) Specify a day. | day = 28
{{{month}}} (Optional) Specify a month. | month = 6
{{{year}}} (Optional) Specify a year. | year = 2005
{{{nocat}}} Prevents page from being added to the Category:CFSD Past Deadline category. | year = 2005

Preview

Before deadline

Info content.png
This article will be marked as a candidate for speedy deletion on December 31, 2025, 23:59 (PST) for the following reason:

  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: 104 Days.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page).
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

After deadline

Warning icon.png
This article has been marked as a candidate for speedy deletion by the Deadline template since June 28, 2005, 23:59 for the following reason:

  No reason given!

If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page).
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.