Template:Subpages/doc

The  template shows all the subpages of a given page. It should not be used in the main namespace, only on pages such as user or Gentoo project pages. It takes one, optional parameter, the target page name. The default parameter is evaluated to the magic word value when no anonymous or first argument is passed.


 * : shows the subpages for the current page (in this case, Template:Subpages).
 * : shows the subpages under the User:Larry page.

Alternatively, subpages can be embedded the Special:PrefixIndex directly, e.g.

Parameters
{	"params": { "1": {			"label": "Page", "description": "Page to display links underneath if not current page", "example": "User:Larry", "type": "wiki-page-name" }	},	"format": "inline" }

Usage
See the template's testcases: