Template:List subpages/doc
Jump to navigation
Jump to search
| File:Edit-copy green.svg | This is a documentation subpage for Template:List subpages. It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit]
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[edit]
{{list subpages|Pathoschild|User}}
Pages with the prefix 'Pathoschild' in the 'User' and 'User talk' namespaces:
User:
User talk:
Editing this template[edit]
| File:Ambox warning yellow.svg | 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, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
TemplateData[edit]
Template:TemplateData header <templatedata> { "params": { "1": { "label": "Prefix", "type": "wiki-page-name", "default": "The name of the page on which the template is placed." }, "2": { "label": "Content namespace", "type": "string", "default": "The namespace name." }, "caption": { "label": "Caption" } }, "description": "List all pages in a given namespace and prefix.", "format": "inline" } </templatedata>
See also[edit]
- {{subpages}} (link to subpage index)
- {{user subpages}} (similar template with different formatting)
- Special:PrefixIndex: the source of this information