Template:List subpages/doc View history

(Noted it does not work in the main namespace)
(Working for main namespace now)
Line 2: Line 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{mbox
{{mbox
| type = critical
| type = notice
| text = This template is not currently working properly for the main namespace and needs to be adjusted. It currently only works in other namespaces already supported by general Wiki deployments.
| text = When this template is placed on a talk page, it does not include the proper headings for the namespace, but does correctly show the pages in the primary and talk namespaces for the namespace in which it is located.
}}
}}



Revision as of 02:35, 16 May 2014

This is a documentation subpage for Template:List subpages.
It contains usage information, categories and other content that is not part of the original template page.
When this template is placed on a talk page, it does not include the proper headings for the namespace, but does correctly show the pages in the primary and talk namespaces for the namespace in which it is located.

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.

{{List subpages|prefix|content namespace|caption=Foo}}

Example

{{list subpages|North Carolina|main}}

Pages with the prefix 'North Carolina' in the 'main' and 'main talk' namespaces:

main:

main talk:

See also