Template:Alarm clock
Jump to navigation
Jump to search
Purpose[edit]
Provide a general-purpose reminder facility for managing to-do lists, personal reminders, etc.
While it was originally intended for user- and user-talk pages to help editors keep track of personal to-do lists, it can be used on project and other discussion pages for collaborative purposes.
Usage[edit]
{{alarm clock|d=date|before=text|after=text}}
- Parameters
|d=
date and time in ISO 8601 format, such as 2014-02-08 or 2014-02-08T07:08:24+01:00|before=
text which will appear prior to the alarm going off (optional)|after=
text which will appear after the alarm goes off (optional)
- Examples
{{alarm clock|d=2014-01-01 00:00:00Z|before=It's not 2014 yet.|after=It's 2014 or later.}}
- It's 2014 or later.
{{alarm clock|d=2020-01-01|before=It's not 2020 yet.|after=It's 2020 or later.}}
- It's 2020 or later.
- Technical limitations
- The time is calculated when the page this template is used on is changed or purged. This is likely to be very unreliable on infrequently-edited pages.
- Non-technical limitations
- This should not be used on article pages, use {{Update after}} instead.
- It should not be used on other "content" pages like templates, modules, etc. without a good reason. Consider using the underlying template {{age switch}} with
|age=0
instead. - The use outside of user- and user-talk space is subject to "local consensus." If you use this elsewhere in the project and there is an objection, please try to form a consensus before restoring the template.
- See also
- Templates listed in Category:Date-computing templates based on current time