Template:Random item/doc

Returns one of $N$ items at random.

Usage

 * All calls to the function using y with the same number of items will return the same item.
 * All calls to the function using y with the same number of items will return the same item.

Parameters

 * 1‥2‥$N$ → The items to return.
 * y Set to a truthy value for all calls with this parameter set and the same number of items to return the same item.
 * There used to be a range parameter, but this is no longer needed.