Template:List subpages/doc View history

(Noted it does not work in the main namespace)
(changed category)
 
(One intermediate revision by the same user not shown)
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.
}}
}}


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