Template:Random page in category/doc

This template creates a link to random page from a category.

Usage

 * 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 ns is for specifying the namespace number. Separate multiple namespace numbers with  or   (e.g. 2;118)
 * Parameter type specified the type of page to return (, , or  ). page, subcat, and file are equivalent to 0, 14, and 6, respectively.
 * Parameter action specifies an action to perform on the page (e.g. edit). See Parameters to index.php§Actions.
 * Parameter text is for specifying different link text.

TemplateData
{	"params": { "1": {			"label": "Category", "description": "Category from which page will be selected", "type": "wiki-page-name" },		"ns": { "label": "Namespace" },		"type": {}, "action": {}, "text": {} } }

Examples

 * would produce on Category:Physics:
 * produces:
 * produces:
 * produces:
 * produces:
 * produces:
 * produces: