User:Pi zero/Archives/on this day/p2/doc

Usage
This is a subtemplate of User:Pi zero/Archives/on this day. It takes six parameters, which are expected to be a positive integers; generates a random integer in the range from 0 to one less than the first parameter and subtracts that from each of the parameters; subtracts each of these differences from the current year and passes it on to User:Pi zero/Archives/on this day/p3. Omitted parameters default to the integers from 1 to 6.