Template:List subpages: Difference between revisions
From Black Cat Studios
Jump to navigationJump to search
en>Aseleste (edit: template: from Special:Permalink/1024588911) |
m (1 revision imported) |
(No difference)
|
Revision as of 02:26, 20 June 2023
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.
<syntaxhighlight lang="wikitext">
Foo
</syntaxhighlight>
content namespace:
content namespace talk:
Example
<syntaxhighlight lang="wikitext">Pages with the prefix 'Pathoschild' in the 'User' and 'User talk' namespaces:
User:
User talk:
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, 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. Click here to see a monthly parameter usage report for this template based on this 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