In this templatespace:
Template talk:
List subpages |
![](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Wikibooks-logo-en-noslogan.svg/40px-Wikibooks-logo-en-noslogan.svg.png)
Wikibooks has a book on the topic of: Template:AutoTOC
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:
- Pathoschild/AOL proxy talk pages
- Pathoschild/Blocked users
- Pathoschild/Blocked users/001
- Pathoschild/Blocked users/002
- Pathoschild/Blocked users/003
- Pathoschild/Blocked users/004
- Pathoschild/Blocked users/005
- Pathoschild/Blocked users/006
- Pathoschild/Blocked users/header
- Pathoschild/Blocked users/template
- Pathoschild/Commission de consultation sur les pratiques d'accommodement reliées aux différences culturelles
- Pathoschild/Double-standard fallacy
- Pathoschild/Help/Template special effects
- Pathoschild/Projects/Template substitution
- Pathoschild/Sandbox
- Pathoschild/Sandbox4
- Pathoschild/Sandbox5
- Pathoschild/Template:Deprecated removed
- Pathoschild/Template:Extlink
- Pathoschild/Template:History
- Pathoschild/Template:Oldid
- Pathoschild/Template:Project
- Pathoschild/Template:Unsigned
- Pathoschild/Template:User page header
- Pathoschild/Template:Wikilink
- Pathoschild/Temporary userspaces
- Pathoschild/Verifications
- Pathoschild/common.js
- Pathoschild/regex.js
- Pathoschild/script/MOSNUM dates.js
- Pathoschild/script/MOSNUM utils.js
- Pathoschild/t/link
User talk:
Pathoschild |
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, 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
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:List subpages in articles based on its TemplateData.
TemplateData for List subpages
List all pages in a given namespace and prefix.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Prefix | 1 | no description
| Page name | optional |
Content namespace | 2 | no description
| String | optional |
Caption | caption | no description | Unknown | optional |
See also
- {{subpages}} (link to subpage index)
- {{user subpages}} (similar template with different formatting)
- Special:PrefixIndex: the source of this information