Difference between revisions of "Template:Countdown/testcases"
imported>Theopolisme m (→Testing sandbox version: {{!}}) |
imported>Mr. Stradivarius (convert tests to be more readable) |
||
| Line 1: | Line 1: | ||
{{template test cases notice}} | {{template test cases notice}} | ||
| − | == | + | == Plain template == |
| − | |||
| + | ;Main | ||
| − | {{ | + | <code><nowiki>{{countdown}}</nowiki></code> |
| − | {{ | + | {{countdown}} |
| − | {{ | + | ;Sandbox |
| + | |||
| + | <code><nowiki>{{countdown/sandbox}}</nowiki></code> | ||
| + | |||
| + | {{countdown/sandbox}} | ||
| + | |||
| + | == Test 2 == | ||
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|+3 years}}|month={{#time:m}}|day={{#time:j}}|hour=0|minute=0|second=0|duration=1|duration unit=week|event=the event starts|eventstart=STARTED|eventend=ENDED|color=#4000FF}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|+3 years}}|month={{#time:m}}|day={{#time:j}}|hour=0|minute=0|second=0|duration=1|duration unit=week|event=the event starts|eventstart=STARTED|eventend=ENDED|color=#4000FF}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|+3 years}}|month={{#time:m}}|day={{#time:j}}|hour=0|minute=0|second=0|duration=1|duration unit=week|event=the event starts|eventstart=STARTED|eventend=ENDED|color=#4000FF}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|+3 years}}|month={{#time:m}}|day={{#time:j}}|hour=0|minute=0|second=0|duration=1|duration unit=week|event=the event starts|eventstart=STARTED|eventend=ENDED|color=#4000FF}} | {{countdown/sandbox|year={{#time:Y|+3 years}}|month={{#time:m}}|day={{#time:j}}|hour=0|minute=0|second=0|duration=1|duration unit=week|event=the event starts|eventstart=STARTED|eventend=ENDED|color=#4000FF}} | ||
| − | {{ | + | == Test 3 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|-1 month}}|month={{#time:m|-1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|-1 month}}|month={{#time:m|-1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|-1 month}}|month={{#time:m|-1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|-1 month}}|month={{#time:m|-1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y|-1 month}}|month={{#time:m|-1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 4 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 5 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|+1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|+1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|+1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|+1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|+1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 6 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=1440|duration unit=minutes|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=1440|duration unit=minutes|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=1440|duration unit=minutes|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=1440|duration unit=minutes|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=1440|duration unit=minutes|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 7 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=48|duration unit=hours|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=48|duration unit=hours|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=48|duration unit=hours|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=48|duration unit=hours|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=48|duration unit=hours|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 8 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#time:t|+1 month}}|duration unit=days|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#time:t|+1 month}}|duration unit=days|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#time:t|+1 month}}|duration unit=days|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#time:t|+1 month}}|duration unit=days|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#time:t|+1 month}}|duration unit=days|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 9 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=4|duration unit=weeks|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=4|duration unit=weeks|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=4|duration unit=weeks|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=4|duration unit=weeks|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=4|duration unit=weeks|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 10 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=3|duration unit=months|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=3|duration unit=months|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=3|duration unit=months|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=3|duration unit=months|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=3|duration unit=months|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | {{ | + | == Test 11 == |
| + | |||
| + | ;Main | ||
| + | |||
| + | <code><nowiki>{{countdown|year={{#time:Y|-1 year}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=1|duration unit=year|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| + | |||
| + | {{countdown|year={{#time:Y|-1 year}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=1|duration unit=year|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|-1 year}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=1|duration unit=year|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
{{countdown/sandbox|year={{#time:Y|-1 year}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=1|duration unit=year|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown/sandbox|year={{#time:Y|-1 year}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=1|duration unit=year|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | + | == Test 12 == | |
| − | + | ;Main | |
| − | |||
| − | {{ | + | <code><nowiki>{{countdown|year={{#time:Y|-1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> |
| − | {{ | + | {{countdown|year={{#time:Y|-1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} |
| + | |||
| + | ;Sandbox | ||
| + | |||
| + | <code><nowiki>{{countdown/sandbox|year={{#time:Y|-1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> | ||
| − | {{ | + | {{countdown/sandbox|year={{#time:Y|-1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} |
| − | + | == Test 13 == | |
| + | |||
| + | ;Main | ||
| − | {{ | + | <code><nowiki>{{countdown|year={{#time:Y}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> |
{{countdown|year={{#time:Y}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | {{countdown|year={{#time:Y}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
| − | + | ;Sandbox | |
| − | {{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t | + | <code><nowiki>{{countdown/sandbox|year={{#time:Y}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}</nowiki></code> |
| + | |||
| + | {{countdown/sandbox|year={{#time:Y}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}} | ||
Latest revision as of 08:04, 14 December 2013
| This is the template test cases page for the sandbox of Template:Countdown. Script error: No such module "Purge". 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 with these links: |
Contents
Plain template
- Main
{{countdown}}
Error: year, month, and day must be specified
- Sandbox
{{countdown/sandbox}}
Error: year, month, and day must be specified
Test 2
- Main
{{countdown|year={{#time:Y|+3 years}}|month={{#time:m}}|day={{#time:j}}|hour=0|minute=0|second=0|duration=1|duration unit=week|event=the event starts|eventstart=STARTED|eventend=ENDED|color=#4000FF}}
There are 3 years, 4 hours, 2 minutes and 16 seconds until the event starts. (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|+3 years}}|month={{#time:m}}|day={{#time:j}}|hour=0|minute=0|second=0|duration=1|duration unit=week|event=the event starts|eventstart=STARTED|eventend=ENDED|color=#4000FF}}
There are 3 years, 4 hours, 2 minutes and 16 seconds until the event starts. (refresh)
Test 3
- Main
{{countdown|year={{#time:Y|-1 month}}|month={{#time:m|-1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
ENDED (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|-1 month}}|month={{#time:m|-1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
ENDED (refresh)
Test 4
- Main
{{countdown|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
STARTED (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
STARTED (refresh)
Test 5
- Main
{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|+1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|+1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
Test 6
- Main
{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=1440|duration unit=minutes|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=1440|duration unit=minutes|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
Test 7
- Main
{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=48|duration unit=hours|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=48|duration unit=hours|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
Test 8
- Main
{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#time:t|+1 month}}|duration unit=days|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#time:t|+1 month}}|duration unit=days|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
Test 9
- Main
{{countdown|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=4|duration unit=weeks|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 52 seconds until the event starts. (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|+1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration=4|duration unit=weeks|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 51 seconds until the event starts. (refresh)
Test 10
- Main
{{countdown|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=3|duration unit=months|event=the event starts|eventstart=STARTED|eventend=ENDED}}
STARTED (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=3|duration unit=months|event=the event starts|eventstart=STARTED|eventend=ENDED}}
STARTED (refresh)
Test 11
- Main
{{countdown|year={{#time:Y|-1 year}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=1|duration unit=year|event=the event starts|eventstart=STARTED|eventend=ENDED}}
ENDED (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|-1 year}}|month={{#time:m}}|day=1|hour=0|minute=0|second=0|duration=1|duration unit=year|event=the event starts|eventstart=STARTED|eventend=ENDED}}
ENDED (refresh)
Test 12
- Main
{{countdown|year={{#time:Y|-1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
ENDED (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y|-1 month}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t|-1 month}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
ENDED (refresh)
Test 13
- Main
{{countdown|year={{#time:Y}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 51 seconds until the event starts. (refresh)
- Sandbox
{{countdown/sandbox|year={{#time:Y}}|month={{#time:m|+1 month}}|day=1|hour=0|minute=0|second=0|duration={{#expr:{{#time:t}}*60*60*24}}|event=the event starts|eventstart=STARTED|eventend=ENDED}}
There is 1 week, 3 days, 21 hours, 29 minutes and 51 seconds until the event starts. (refresh)