This template gives a button to use Special:RandomInCategory to go to a random page in a category. It should be only used in the Category namespace; using it in other namespaces will return an error.