Appropedia needs your support - Please Donate Today

Template:List subpages

From Appropedia
Jump to: navigation, search
In this Templatespace:
Template:
List subpages
List subpages/doc
Template talk:
List subpages/doc
[view] [edit] [history] [purge] Documentation icon Template documentation

Usage[edit]

This uses two arguments: pagename and namespace.

Simple version[edit]

When the template is placed on a page without any arguments, it displays any subpages for that page. For example,

{{List subpages}}

produces:

In this Templatespace:
Template:
List subpages
List subpages/doc
Template talk:
List subpages/doc

Mainspace[edit]

For Mainspace (articles), the form is:

{{List subpages|PAGENAME|}}

Notice that the namespace value is left blank.

For example,

{{List subpages|CCAT rainwater catchment system|}}

produces:

Pages with the prefix 'CCAT rainwater catchment system' in the 'Main' and 'Talk' namespaces:

Other namespaces[edit]

For subpages of Appropedia:Content Initiatives:

{{List subpages|Content Initiatives|Appropedia}}

displays as:

Pages with the prefix 'Content Initiatives' in the 'Appropedia' and 'Appropedia talk' namespaces:

For userspace, the form is:

{{List subpages|USERNAME|User}}

Interwiki links[edit]