Template:Subpages/doc
From MediaWiki.org
| This is a documentation subpage for Template:Subpages (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
[edit] Usage
{{subpages}} shows all the subpages of a given page. It should not be used in the main namespace, only on pages such as user pages, Wiktionary pages and appendices. It takes one, optional parameter, the target page name. The default is {{PAGENAME}}
- {{subpages}}: shows the subpages for the current page (in this case, Template:subpages)
- {{subpages|User:Example}}: shows the subpages for User:Example