This is the template test cases page for the sandbox of Template:Show by date. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Live template
editBoth pre-/post- statements specified
edit- 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
edit- 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
edit- 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
edit- 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
edit- Today is before 20 November 2024
- Today is before 21 November 2024
- Today is before 22 November 2024
- Today is before 23 November 2024
- Today is before 24 November 2024
Sandbox
editTests for {{Show by date/sandbox}}
Both pre-/post- statements specified
edit- 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
edit- 2009-01-01
- 2010-09-16
- 2010-09-17
- 2010-09-18
- 2010-09-19
- 2010-10-01
- 2010-11-01
- 2010-12-01
- 2011-01-01
Only post- statements specified
edit- 2009-01-01 Show on or after 1 January 2010
- 2010-09-16 Show on or after 16 September 2010
- 2010-09-17 Show on or after 17 September 2010
- 2010-09-18 Show on or after 18 September 2010
- 2010-09-19 Show on or after 19 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
Experimental stuff
edit- using before/after/ondate
- Today is after 19 December 2011
- Today is after 20 December 2011
- Today is after 21 December 2011
- Today is after 22 December 2011
- using before/after - not using ondate
- Today is on or after 19 December 2011
- Today is on or after 20 December 2011
- Today is on or after 21 December 2011
- Today is on or after 22 December 2011
- using before/ondate - not using after
- 19 December 2011
- 20 December 2011
- 21 December 2011
- 22 December 2011
- using before/after/ondate and delay=0.5 (i.e. date boundary is 1200 UTC)
- Today is after 19 December 2011
- Today is after 20 December 2011
- Today is after 21 December 2011
- Today is after 22 December 2011
- nested templates
- Today is before 20 November 2024
- Today is before 21 November 2024
- Today is before 22 November 2024
- Today is before 23 November 2024
- Today is before 24 November 2024
Using delay parameter with pre-/post- statements
edit- 2010-09-19 - no delay Show on or after the time
- 2010-09-19 delay=0.1 Show on or after the time
- 2010-09-19 delay=0.25 Show on or after the time
- 2010-09-19 delay=0.5 Show on or after the time
- 2010-09-19 delay=0.75 Show on or after the time
- 2010-09-20 - no delay Show on or after the time
Using hour parameter with pre-/post- statements
edit- 2024-11-15 hour = 0: Show on or after the time
- 2024-11-15 hour = 2: Show on or after the time
- 2024-11-15 hour = 4: Show on or after the time
- 2024-11-15 hour = 6: Show on or after the time
- 2024-11-15 hour = 8: Show on or after the time
- 2024-11-15 hour = 10: Show on or after the time
- 2024-11-15 hour = 12: Show before the time
- 2024-11-15 hour = 14: Show before the time
- 2024-11-15 hour = 16: Show before the time
- 2024-11-15 hour = 18: Show before the time
- 2024-11-15 hour = 20: Show before the time
- 2024-11-15 hour = 22: Show before the time
- 2024-11-15 hour = 24: Show before the time
Using hour parameter with pre-statement only
edit- 2024-11-15 hour = 0:
- 2024-11-15 hour = 2:
- 2024-11-15 hour = 4:
- 2024-11-15 hour = 6:
- 2024-11-15 hour = 8:
- 2024-11-15 hour = 10:
- 2024-11-15 hour = 12: Show before the time
- 2024-11-15 hour = 14: Show before the time
- 2024-11-15 hour = 16: Show before the time
- 2024-11-15 hour = 18: Show before the time
- 2024-11-15 hour = 20: Show before the time
- 2024-11-15 hour = 22: Show before the time
- 2024-11-15 hour = 24: Show before the time