Template:Deadline

From BlogNomic Wiki
Revision as of 10:32, 23 August 2024 by Kevan (talk | contribs)
Jump to navigation Jump to search

Usage

Wrapping this template around a timestamp or datestamp will cause the date to be bolded and highlighted in red if that time is not in the future.

This template was created as a test in August 2024 - in practice it may not update itself frequently enough to be reliable, although in use cases where the deadline only applies to wiki gamestate actions, it may still work usefully as an immediately retrospective alert. (If you take a move but doing so causes a deadline date to become red, that may be a sign that your move forgot to bear this deadline in mind.)

Examples:

  • {{deadline|2024-08-23 10:12}} displays as 2024-08-23 10:12
  • {{deadline|1 January 2024}} displays as 1 January 2024
  • {{deadline|12:00, 2040-01-01}} displays as 12:00, 2040-01-01
  • {{deadline|31 December 2099}} displays as 31 December 2099

Less specific dates will also work, assuming the current year (with the outputs being correct when this documentation page was last refreshed on 2024-11-13):-

  • {{deadline|January 1}} displays as January 1
  • {{deadline|June 1}} displays as June 1
  • {{deadline|October 1}} displays as October 1
  • {{deadline|December 31}} displays as December 31