Template:Random in category: Difference between revisions
Template page
More actions
Created page with "{{#ifeq:{{NAMESPACE}}|Category |{{Clickable button|Special:RandomInCategory/{{PAGENAME}}|{{#if:{{{text|}}}|{{{text}}}|Random page in this category}}}} |{{#ifeq:{{FULLPAGENAME}}|Template:Random in category|{{Clickable button|Wikipedia:Example|Random page in category}}|{{Error|This template can only be used on category pages.}}}} }}<noinclude> {{Documentation}}</noinclude>" |
(No difference)
|
Latest revision as of 19:51, 23 February 2025
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, |text which will change the text of the button.