Jump to navigation
Jump to search
(Show recently released for a week) |
m (fix) |
||
Line 1: | Line 1: | ||
{{#vardefine:month|{{#switch:{{{month}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|#default=}}}} | {{#vardefine:month|{{#switch:{{{month}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|#default=}}}} | ||
{{#ifexpr:{{#time:U}} | {{#ifexpr:{{#time:U}} < {{#time:U|{{{year|2035}}}-{{{month|12}}}-{{{day|31}}}}}+604800| | ||
{{tag | {{tag | ||
|class=header_box_message | |class=header_box_message | ||
Line 8: | Line 8: | ||
|smalltext={{#if:{{{year|}}}|Release date: {{#if:{{{month|}}}|{{#if:{{{day|}}}|[[{{#var:month}} {{{day}}}]],|{{#var:month}}}}}} [[{{{year}}}]]|No release date has been specified. If you can find it, please add it using the ''year'', ''month'' and ''day'' parameters for the {{t|upcoming}} template on this page.}} | |smalltext={{#if:{{{year|}}}|Release date: {{#if:{{{month|}}}|{{#if:{{{day|}}}|[[{{#var:month}} {{{day}}}]],|{{#var:month}}}}}} [[{{{year}}}]]|No release date has been specified. If you can find it, please add it using the ''year'', ''month'' and ''day'' parameters for the {{t|upcoming}} template on this page.}} | ||
|tag=Future release | |tag=Future release | ||
}}<includeonly>{{#ifexpr:{{#time:U}} < {{#time:U|{{{year|2035}}}-{{{month|12}}}-{{{day|31}}}}}|[[Category:Upcoming games]]}}|[[Category:Deprecated template usage]]}} | }}<includeonly>{{#ifexpr:{{#time:U}} < {{#time:U|{{{year|2035}}}-{{{month|12}}}-{{{day|31}}}}}|[[Category:Upcoming games]]}}</includeonly>|[[Category:Deprecated template usage]]}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Header box templates]]</noinclude> | [[Category:Header box templates]]</noinclude> |
Revision as of 13:58, 18 October 2022
This page has been transcluded from Template:Upcoming/Documentation.
This template should be used at the top of the article to signify that it hasn't yet been released. Pages will be categorized under Category:Upcoming games.
Articles will automatically be put into the deprecated template usage category by this template once the date of their release has passed. From there, this template can either be removed from them, or its date updated.
Parameters
- year: The year of release.
- month: The month of release, as a number or string suitable for input to {{#time:...}}.
- day: The day of release, as a number suitable for input to {{#time:...}}.