Template:List subpages/doc View history

(Working for main namespace now)
(changed category)
 
Line 22: Line 22:
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
{{DEFAULTSORT:List subpages}}
{{DEFAULTSORT:List subpages}}
[[Category:Search Templates]]
[[Category:Search templates]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->


</includeonly>
</includeonly>

Latest revision as of 21:53, 3 August 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