Template:Random

Syntax
random where option is:
 * bool (returns 0 or 1)
 * boolyn (returns no or yes)
 * coin (returns heads or tails)
 * dice (returns a number between 0 and 6)
 * int (returns a number between 0 and 9)
 * hex (returns a nibble between 0 and F)

Example

 * gives


 * # gives
 * # (useful for random color!)