Template:Show by date/testcases

From MOASSpedia
Jump to navigation Jump to search

Live template

Both pre-/post- statements specified

  • 2009-01-01 Show on or after the date
  • 2010-09-22 Show on or after the date
  • 2010-09-23 Show on or after the date
  • 2010-09-24 Show on or after the date
  • 2010-09-25 Show on or after the date
  • 2010-10-01 Show on or after 1 October 2010
  • 2010-11-01 Show on or after 1 November 2010
  • 2010-12-01 Show on or after 1 December 2010
  • 2011-01-01 Show on or after 1 January 2011

Only pre- statements specified

  • 2009-01-01
  • 2010-09-22
  • 2010-09-23
  • 2010-09-24
  • 2010-09-25
  • 2010-10-01
  • 2010-11-01
  • 2010-12-01
  • 2011-01-01

Only post- statements specified

  • 2009-01-01 Show on or after 1 January 2010
  • 2010-09-22 Show on or after 22 September 2010
  • 2010-09-23 Show on or after 23 September 2010
  • 2010-09-24 Show on or after 24 September 2010
  • 2010-09-25 Show on or after 25 September 2010
  • 2010-10-01 Show on or after 1 October 2010
  • 2010-11-01 Show on or after 1 March 2010
  • 2010-12-01 Show on or after 1 December 2010
  • 2011-01-01 Show on or after 1 January 2011

Using delay parameter with pre-/post- statements

  • 2010-09-18 - no delay Show on or after the time
  • 2010-09-18 delay=1 Show on or after the time
  • 2010-09-18 delay=2 Show on or after the time
  • 2010-09-19 - no delay Show on or after the time
  • 2010-09-19 delay=1 Show on or after the time
  • 2010-09-19 delay=2 Show on or after the time

Experimental stuff

  • Today is after 20 January 2024
  • Today is exactly 21 January 2024
  • Today is before 22 January 2024
  • Today is before 23 January 2024
  • Today is before 24 January 2024

Sandbox

Tests for {{Show by date/sandbox}}

Both pre-/post- statements specified

Only pre- statements specified

Only post- statements specified

Experimental stuff

using before/after/ondate
using before/after - not using ondate
using before/ondate - not using after
using before/after/ondate and delay=0.5 (i.e. date boundary is 1200 UTC)
nested templates

Using delay parameter with pre-/post- statements

Using hour parameter with pre-/post- statements

Using hour parameter with pre-statement only