Template:List subpages

From OpenWetWare
Revision as of 14:06, 23 June 2011 by Kathryn Muratore (talk | contribs) (removed underscore from instructions~~~~)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Usage

This template is to quickly create a link to a list of all subpages for a parent page. It's pretty straightforward code:

List of all [[Special:PrefixIndex/{{FULLPAGENAME}}| {{SUBPAGENAME}} subpages]]

For a page such as, Muratore:Protocols/Parent/Subpage, there will be a breadcrumb to Muratore:Protocols/Parent. Putting {{List subpages}} in the content of Muratore:Protocols/Parent will produce:

List of all Parent subpages

Note that the link goes to Special:PrefixIndex/Muratore:Protocols/Parent. When this link is clicked, you'll get a list of the hyperlinked subpages, such as:

Muratore:Protocols/Parent/Subpage