Template:List subpages/doc: Difference between revisions
From Guild of Archivists
m (1 revision imported) |
Latest revision as of 06:14, 1 November 2015
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. |
Wikibooks has a book on the topic of: Template:AutoTOC |
Usage[edit source]
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 source]
{{list subpages|Ollieinc|User}}
Pages with the prefix 'Ollieinc' in the 'User' and 'User talk' namespaces:
User:
User talk:
Editing this template[edit source]
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. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
See also[edit source]
- {{subpages}} (link to subpage index)
- {{user subpages}} (similar template with different formatting)