Template:List subpages
From Appropedia
In this Templatespace:
Template talk:
[edit] Documentation
The MediaWiki software transcludes this documentation from Template:List subpages/doc. (edit | history)
[edit] Usage
This uses two arguments: pagename and namespace.
E.g. for subpages of Appropedia:Content Initiatives:
- {{List subpages|Content Initiatives|Appropedia}}
displays as:
Pages with the prefix 'Content Initiatives' in the 'Template' and 'Appropedia talk' namespaces:
For userspace, the form is:
- {{List subpages|USERNAME|User}}
[edit] Not working in mainspace - why?
This doesn't seem to work in mainspace - I tried using namespace names of Main, Mainspace, Article and 0. E.g.
- {{List subpages|AT CAD Team|Main}}
Pages with the prefix 'AT CAD Team' in the 'Template' and 'Main talk' namespaces:
Template:
Main talk:
Subpages appear to be turned on (note link to root page at AT CAD Team/AT Interstate Traveller). What's going wrong? --Chriswaterguy 00:05, 7 June 2011 (PDT)
- One step closer - this now works for mainspace in mainspace. It still needs revisions to work for mainspace pages outside of mainspace. --RichardF 13:32, 26 January 2012 (PST)
[edit] Interwiki links
- Template:List subpages