Template:List subpages/doc

From Ikzer Projects
< Template:List subpages
Revision as of 18:22, 2 February 2023 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Wikibooks

Usage[edit]

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]

{{list subpages|Pathoschild|User}}

Pages with the prefix 'Pathoschild' in the 'User' and 'User talk' namespaces:

User:

User talk:

Editing this template[edit]

TemplateData[edit]

Template:TemplateData header <templatedata> { "params": { "1": { "label": "Prefix", "type": "wiki-page-name", "default": "The name of the page on which the template is placed." }, "2": { "label": "Content namespace", "type": "string", "default": "The namespace name." }, "caption": { "label": "Caption" } }, "description": "List all pages in a given namespace and prefix.", "format": "inline" } </templatedata>

See also[edit]