Template:Random page in category/doc
This is a documentation subpage for Template:Random page in category. It may contain usage information, categories and other content that is not part of the original template page. |
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.
- Parameter
|text=
is for specifying different link text.
Examples
edit- {{Random page in category}} would produce on Category:Physics: Random page in category Physics
- {{Random page in category|Physics}} produces: Random page in category Physics
- {{Random page in category|Physics|text=Random page}} produces: Random page
See also
edit- Ervin85's Random article on toolserver – the tool this template was based upon.[dead link]