跳转到内容

Template:Show by date/testcases

维基百科,自由的百科全书

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 24 September 2010
  • Today is after 25 September 2010
  • Today is after 26 September 2010
  • Today is after 27 September 2010
  • Today is after 28 September 2010

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)

Using delay parameter with pre-/post- statements

[编辑]

Politics

[编辑]
  • Obama's out, or his 2nd term begins