Template:Interval/testcases
< Template:Interval
Jump to navigation
Jump to search
Revision as of 15:13, 28 October 2010 by imported>MSGJ (→Example with timestamp)
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
{{interval|n=20260115171157|14 October|24 October|29 October|7 December|format=time}}: Lua error: mw.language:formatDate() only supports years up to 9999.: