Template:Old
This template needs to be updated. Please update this template to reflect recent events or newly available information. (January 2024) |
After the specified date has passed, this template calls the {{Update}}
template to display a message box indicating that the page contains out of date information. Use to set a page to display the outdated message only after a known future date has arrived, such as for regularly recurring sporting events like the Olympics, Canada Games, etc.
This template should be transcluded at the top of the page; it is NOT suitable for substitution.
Usage
{{Outdated as of|<year>|<month>|<day>|<last updated>|topic=<topic>}}
or
{{Outdated as of|year=<year>|month=<month>|day=<day>|last updated=<last updated>|topic=<topic>}}
where named parameters (appearing in any sequence)
year | → | the four digit year when the page will next need to be updated (e.g. year = 2025 ) | |||
month | → | the numeric month when this page will next need to be updated (e.g. Month = 2 ) | |||
day | → | the day of the month when this page next needs to be updated (e.g. day = 12 ) | |||
last updated | → | any text to indicate when the information was last updated; typically this is the full date when this page was last brought up to date (e.g. last updated = November 21, 2024 ) | |||
topic | → | a custom message may be added to clarify which part(s) of the page are/will be out-of-date; this is added to the message stating "Parts of this article (those related to topic) are outdated." |
During multi-day events, set the day to the next day (that the information on the page may change) and set the last updated parameter each day after the complete day's results have been updated. This will prevent the outdated message from appearing at the top of the page on the current day once the information is current, but will automatically display the message the following day if results have not been posted.
Due to the nature of WikiMedia, and browser caching, the message might not appear until some time after the midnight changeover; also, midnight is UTC midnight as opposed to local time. There is currently no support in this template for specifying what time that the message will appear.
Can be used with the {{Update after}}
template for similar inline notations.
After the date specified by year / month / day is reached the page is added to the Category:Wikipedia articles in need of updating.
Article | Template:Outdated as of |
---|---|
Category | Template:Outdated as of |
Template | Template:Outdated as of |
Examples
(Note: All examples simulate the Article namespace.)
{{Outdated as of | 2024 | 11 | 22 }}
or
{{Outdated as of | year = 2024 | month = 11 | day = 22 }}
yields
Template:Outdated as of [Nothing since this date has not yet been reached]
{{Outdated as of | year = 2024 | month = 11 | day = 21 | last updated = November 21, 2024 }}
yields
Template:Outdated as of
{{Outdated as of | topic = Hockey results | last updated = Game 3 | year = 2024 | month = 11 | day = 20 }}
yields
Template:Outdated as of
{{Outdated as of | year = 2025 | month = 2 | day = 12 | last updated = November 21, 2024 }}
yields Template:Outdated as of [Nothing since this date is far in the future.]
See also
- {{Update}}
- {{Update after}}
- {{As of}}
- {{Show by date}}/{{subst:Show by}}
- See Wikipedia:Template messages/Cleanup#Time-sensitive for alternatives unrelated to out-of-date information.
The above documentation is transcluded from Template:Old/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |