Difference between revisions of "Template:List subpages/doc"
Jump to navigation
Jump to search
imported>Samwilson (add templatedata) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 43: | Line 43: | ||
* [[Special:PrefixIndex]]: the source of this information | * [[Special:PrefixIndex]]: the source of this information | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
{{DEFAULTSORT:List subpages}} | {{DEFAULTSORT:List subpages}} | ||
| Line 52: | Line 52: | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 00:07, 26 April 2020
| 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
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 'Script error: No such module "If empty".' 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, 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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for List subpages
List all pages in a given namespace and prefix.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Prefix | 1 | no description
| Page | 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