Difference between revisions of "Template:Random page in category"

From LIMSWiki
Jump to navigationJump to search
(Updated.)
 
m (Protected "Template:Random page in category" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(No difference)

Latest revision as of 23:48, 26 January 2018

Random page in this category

[edit] [purge] Template documentation

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 well only on category pages.
  • Second parameter is depth of subcategories to choose from. Maximum depth is 10. If not specified, only selected category is considered.
  • Parameter text is for specifying different link text.
  • Parameter ns is for specifying namespace id.

Examples