Template:List subpages/doc

From Black Cat Studios
Jump to navigationJump to search

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

content namespace:

content namespace talk:

</syntaxhighlight>

Example

<syntaxhighlight lang="wikitext">

<translate> Pages with the prefix '<tvar name=1>Pathoschild</tvar>' in the '<tvar name=2>User</tvar>' and '<tvar name=3>User talk</tvar>' namespaces:</translate>

User:

User talk:

</syntaxhighlight>

<translate> Pages with the prefix '<tvar name=1>Pathoschild</tvar>' in the '<tvar name=2>User</tvar>' and '<tvar name=3>User talk</tvar>' namespaces:</translate>

User:

User talk:

Editing this template

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Prefix1

no description

Default
The name of the page on which the template is placed.
Page nameoptional
Content namespace2

no description

Default
The namespace name.
Stringoptional
Captioncaption

no description

Unknownoptional

See also