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
[编辑]- 2009-01-01 Template:Show by date/sandbox
- 2010-09-22 Template:Show by date/sandbox
- 2010-09-23 Template:Show by date/sandbox
- 2010-09-24 Template:Show by date/sandbox
- 2010-09-25 Template:Show by date/sandbox
- 2010-10-01 Template:Show by date/sandbox 1 October 2010
- 2010-11-01 Template:Show by date/sandbox 1 November 2010
- 2010-12-01 Template:Show by date/sandbox 1 December 2010
- 2011-01-01 Template:Show by date/sandbox 1 January 2011
Only pre- statements specified
[编辑]- 2009-01-01 Template:Show by date/sandbox
- 2010-09-16 Template:Show by date/sandbox
- 2010-09-17 Template:Show by date/sandbox
- 2010-09-18 Template:Show by date/sandbox
- 2010-09-19 Template:Show by date/sandbox
- 2010-10-01 Template:Show by date/sandbox
- 2010-11-01 Template:Show by date/sandbox
- 2010-12-01 Template:Show by date/sandbox
- 2011-01-01 Template:Show by date/sandbox
Only post- statements specified
[编辑]- 2009-01-01 Template:Show by date/sandbox
- 2010-09-16 Template:Show by date/sandbox
- 2010-09-17 Template:Show by date/sandbox
- 2010-09-18 Template:Show by date/sandbox
- 2010-09-19 Template:Show by date/sandbox
- 2010-10-01 Template:Show by date/sandbox
- 2010-11-01 Template:Show by date/sandbox
- 2010-12-01 Template:Show by date/sandbox
- 2011-01-01 Template:Show by date/sandbox
Experimental stuff
[编辑]- using before/after/ondate
- Template:Show by date/sandbox 19 December 2011
- Template:Show by date/sandbox 20 December 2011
- Template:Show by date/sandbox 21 December 2011
- Template:Show by date/sandbox 22 December 2011
- using before/after - not using ondate
- Template:Show by date/sandbox 19 December 2011
- Template:Show by date/sandbox 20 December 2011
- Template:Show by date/sandbox 21 December 2011
- Template:Show by date/sandbox 22 December 2011
- using before/ondate - not using after
- Template:Show by date/sandbox 19 December 2011
- Template:Show by date/sandbox 20 December 2011
- Template:Show by date/sandbox 21 December 2011
- Template:Show by date/sandbox 22 December 2011
- using before/after/ondate and delay=0.5 (i.e. date boundary is 1200 UTC)
- Template:Show by date/sandbox 19 December 2011
- Template:Show by date/sandbox 20 December 2011
- Template:Show by date/sandbox 21 December 2011
- Template:Show by date/sandbox 22 December 2011
Using delay parameter with pre-/post- statements
[编辑]- 2010-09-19 - no delay Template:Show by date/sandbox
- 2010-09-19 delay=0.1 Template:Show by date/sandbox
- 2010-09-19 delay=0.25 Template:Show by date/sandbox
- 2010-09-19 delay=0.5 Template:Show by date/sandbox
- 2010-09-19 delay=0.75 Template:Show by date/sandbox
- 2010-09-20 - no delay Template:Show by date/sandbox
Politics
[编辑]- Obama's out, or his 2nd term begins