Difference between revisions of "Template:Interval/testcases"
Jump to navigation
Jump to search
imported>MSGJ (+) |
imported>MSGJ (→rule = >: +time) |
||
| Line 30: | Line 30: | ||
{{tlx|Interval|2=n=7|3=2|4=4|5=6|6=rule=>}}: {{Interval|n=7|2|4|6|rule=>}} | {{tlx|Interval|2=n=7|3=2|4=4|5=6|6=rule=>}}: {{Interval|n=7|2|4|6|rule=>}} | ||
| + | |||
| + | ===Example with timestamp=== | ||
| + | Time is {{CURRENTTIMESTAMP}}. | ||
| + | |||
| + | Interval is {{interval|n={{CURRENTTIMESTAMP}}|20101114000000|20101124000000|20101126000000|20101207000000}} | ||
| + | |||
| + | *{{#switch:{{interval|n={{CURRENTTIMESTAMP}}|20101114000000|20101124000000|20101126000000|20101207000000}} | ||
| + | |0-1 = <!--Nothing--> | ||
| + | |1-2=Candidates for the [[Wikipedia:Arbitration Committee Elections December 2010|December 2010 Arbitration Committee elections]] are invited to '''[[Wikipedia:Arbitration Committee Elections December 2010/Candidates|nominate themselves]]'''. | ||
| + | |2-3=<!--Nothing--> | ||
| + | |3-4='''[[Special:SecurePoll/vote/??|Voting]]''' is now open to [[Wikipedia:Arbitration Committee Elections December 2010|elect]] new members of the [[Wikipedia:Arbitration Committee|Arbitration Committee]] | ||
| + | |4-5=<!--Nothing--> | ||
| + | }} | ||
Revision as of 14:45, 28 October 2010
rule = >= (default)
{{Interval|n=1|2|4|6}}: 0-1
{{Interval|n=2|2|4|6}}: 1-2
{{Interval|n=3|2|4|6}}: 1-2
{{Interval|n=4|2|4|6}}: 2-3
{{Interval|n=5|2|4|6}}: 2-3
{{Interval|n=6|2|4|6}}: 3-4
{{Interval|n=7|2|4|6}}: 3-4
rule = >
{{Interval|n=1|2|4|6|rule=>}}: 0-1
{{Interval|n=2|2|4|6|rule=>}}: 0-1
{{Interval|n=3|2|4|6|rule=>}}: 1-2
{{Interval|n=4|2|4|6|rule=>}}: 1-2
{{Interval|n=5|2|4|6|rule=>}}: 2-3
{{Interval|n=6|2|4|6|rule=>}}: 2-3
{{Interval|n=7|2|4|6|rule=>}}: 3-4
Example with timestamp
Time is 20260120140956.
Interval is 4-5