Template:Random

Generates a random number up to the number selected.