Template:List subpages

From Appropedia
Jump to navigation Jump to search
In this Templatespace:
Template talk:
[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 talk:

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:

Other namespaces[edit]

For subpages of Appropedia:Content Initiatives:

{{List subpages|Content Initiatives|Appropedia}}

displays as:

For userspace, the form is:

{{List subpages|USERNAME|User}}

Interwiki links[edit]