Template:List subpages/doc
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 |
Strip prefix option example
Setting |stripprefix=1 will remove the common prefix from being displayed as below.
{{list subpages|Pathoschild|User|stripprefix=1}}
Pages with the prefix 'Pathoschild' in the 'User' and 'User talk' namespaces:
User:
- AOL proxy talk pages
- Blocked users
- Blocked users/001
- Blocked users/002
- Blocked users/003
- Blocked users/004
- Blocked users/005
- Blocked users/006
- Blocked users/header
- Blocked users/template
- Commission de consultation sur les pratiques d'accommodement reliées aux différences culturelles
- Double-standard fallacy
- Help/Template special effects
- Projects/Template substitution
- Sandbox
- Sandbox4
- Sandbox5
- Template:Deprecated removed
- Template:Extlink
- Template:History
- Template:Oldid
- Template:Project
- Template:Unsigned
- Template:User page header
- Template:Wikilink
- Temporary userspaces
- Verifications
- common.js
- regex.js
- script/MOSNUM dates.js
- script/MOSNUM utils.js
- t/link
User talk:
| Pathoschild |
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 |
| Strip prefix | stripprefix | If set this will remove the common prefix from all listed pages | Boolean | optional |
See also
- {{subpages}} (link to subpage index)
- {{user subpages}} (similar template with different formatting)
- {{PrefixIndex}}
- Special:PrefixIndex: the source of this information