Template:Random page in category
This template creates a link to random page from a category.
Usage Edit
- First parameter is the category from which to get a random page. If it is not specified, it defaults to current page, which works only on category pages.
- <text> parameter is for specifying different link text.
Examples Edit
- {{Random page in category}} would produce on Category:Sims: Random page in category Sims
- {{Random page in category|<Sims>}} produces: Random page in category Sims
- {{Random page in category|<Sims>|<text=Random page>}} produces: Random page
Attribution Edit
This template originated from the template of the same name on Wikipedia. The template code is used in accordance with Creative Commons Attribution-ShareAlike License. A history of modifications to the template on Wikipedia can be found here.
Visit Template:Random page in category/doc to edit this text! (How does this work?) (Refresh this text - why?)