Changes

Jump to navigation Jump to search
could it be working so soon?
Line 1: Line 1:  
I'm going to rewrite the before, after, and between templates which I originally programmed for Wikipedia.
 
I'm going to rewrite the before, after, and between templates which I originally programmed for Wikipedia.
   −
==Test cases==
+
If you can't see anything in the next section, then all tests have passed. Only failing tests should be visible, unless you  click on the "edit" link above. When there are no more failing tests, the template is finished.
   −
If you can't see anything in this section, then all tests have passed. Only failing tests should be visible, unless you  click on the "edit" link above. When there are no more failing tests, the template is finished.
+
During the month of April (in any year), none of the test cases should fail
   −
During the month of April (in any year), none of the test cases should fail:
+
==Automated tests==
    
{{#ifexpr: 3 < 4 |    | Three should be less than four }}
 
{{#ifexpr: 3 < 4 |    | Three should be less than four }}
Line 14: Line 14:     
{{#ifeq: {{before month|4| wrong | right }} | wrong | If this is April, then it's after the first quarter }}
 
{{#ifeq: {{before month|4| wrong | right }} | wrong | If this is April, then it's after the first quarter }}
−
  −
  −
  −
{{before month|4|in first quarter|after first quarter}}
  −
  −
{{#ifeq: four | five | Orwellian | real}}
 
Siteadmin, Check users, nsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW, oversight, Administrators
30,650

edits

Navigation menu