Template:Random in category/doc

Usage
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.

There is one optional parameter,  which will change the text of the button.