Template:List subpages: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
(New page: List of all [[Special:PrefixIndex/{{FULLPAGENAME}}| {{SUBPAGENAME}} subpages]])
 
No edit summary
Line 1: Line 1:
List of all [[Special:PrefixIndex/{{FULLPAGENAME}}| {{SUBPAGENAME}} subpages]]
<noinclude>
==Usage==
This template is to quickly create a link to a list of all subpages for a parent page. It's pretty straightforward code:
 
<code>
<nowiki>List of all [[Special:PrefixIndex/{{FULLPAGENAME}}| {{SUBPAGENAME}} subpages]]</nowiki>
</code>
 
For a page such as, Muratore:Protocols/Parent/Subpage, there will be a breadcrumb to Muratore:Protocols/Parent. Putting <code><nowiki>{{List_subpages}}</nowiki></code> in the content of Muratore:Protocols/Parent will produce:
 
<blockquote>
List of all [[Special:PrefixIndex/Muratore:Protocols/Parent/| Parent subpages]]
</blockquote>
 
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:
 
<blockquote>
[[Muratore:Protocols/Parent/Subpage]]
</blockquote>
</noinclude>
 
<includeonly>List of all [[Special:PrefixIndex/{{FULLPAGENAME}}/| {{SUBPAGENAME}} subpages]]</includeonly>

Revision as of 13:54, 23 June 2011

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