Template: List subpages
Adapted from Wikipedia:Template:List subpages under the same CC-by-sa license - w:WP:CC-BY-SA. (Simplified documentation to avoid importing all the template dependencies.) |
(No difference)
|
Revision as of 08:20, 17 December 2012
Usage
This template lists all pages in a given namespace and prefix (see Example). All parameters are optional, and default to the current page name, namespace, and corresponding talk space.
{{List subpages|prefix|content namespace|caption=Foo}}
Example
{{list subpages|Pathoschild|User}}
Pages with the prefix 'Pathoschild' in the 'User' and 'User talk' namespaces:
User:
User talk:
Editing this template
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly.
Remember that you can conduct experiments, and should test all improvements, in a sandbox.
Attribution
Wikipedia:Template:List subpages