Template:Outdated as of/doc
40px | This is a documentation subpage for Template:Outdated as of. It contains usage information, categories and other content that is not part of the original template page. |
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 = December 22, 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 |
| ||
---|---|---|---|
Category |
| ||
Template |
|
Examples
(Note: All examples simulate the Article namespace.)
{{Outdated as of | 2024 | 12 | 23 }}
or
{{Outdated as of | year = 2024 | month = 12 | day = 23 }}
yields
Nothing since this date has not yet been reached
{{Outdated as of | year = 2024 | month = 12 | day = 22 | last updated = December 22, 2024 }}
yields
This article is outdated. (December 2024) |
{{Outdated as of | topic = Hockey results | last updated = Game 3 | year = 2024 | month = 12 | day = 21 }}
yields
Parts of this article (those related to Hockey results) are outdated. (December 2024) |
{{Outdated as of | year = 2025 | month = 2 | day = 12 | last updated = December 22, 2024 }}
yields Nothing since this date is far in the future.
See also
- Template:Update
- Template:Update after
- Template:As of
- Template:Show by date
- See Wikipedia:Template messages/Cleanup#Time-sensitive for alternatives unrelated to out-of-date information.