Jump to content

Template:List subpages/doc

From Meta, a Wikimedia project coordination wiki

This template lists all pages in a given namespace and prefix (User:Pathoschild is used on this page as an example). All parameters are optional, and default to the current page name, namespace, and corresponding talk space. If a different content namespace is provided but not a talk namespace, it will (accurately) guess it by appending " talk".

{{List subpages}}
{{List subpages|prefix}}
{{List subpages|prefix|content namespace}}
{{List subpages|prefix|content namespace|talk namespace}}

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for List subpages

This template lists all pages in a given namespace and prefix.

Template parameters

ParameterDescriptionTypeStatus
prefix1

The prefix to list pages with, without namespace (e.g. “Pathoschild” to list pages beginning with “User:Pathoschild” and “User talk:Pathoschild”), by default the current page name without namespace

Lineoptional
content namespace2

The content namespace to list (e.g. “User” to list pages beginning with “User:Pathoschild” and “User talk:Pathoschild”), by default the current namespace for content pages and its corresponding content namespace for talk pages

Lineoptional
talk namespace3

The talk namespace to list, by default the talk namespace corresponding to the content namespace

Lineoptional