Template:Random number/doc

This template generates a pseudo-random integer between 0 and count-1.

Usage

 *  
 * All parameters are optional and have default values. They must be integers.
 * The default count is 100 (so by default, this template generates values between 0 and 99) and must be non-zero.
 * The default seed is and can be set to any other integer value (used to generate distinct values on the same page).
 * The default prime is 67 and should be a prime number above 17 (used to generate distinct values on the same page).


 * Examples generating numbers between 0 and 999 :
 *   =
 *   =  (same as above)
 *   =  (this and others should all be different)
 *   =
 *   =
 *   =
 *   =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =  (varying the prime number)
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 *  </tt> =
 * <tt> </tt> =
 * <tt> </tt> =
 * <tt> </tt> =
 * <tt> </tt> =