Template:Subpages/doc: Difference between revisions

From Guild of Archivists
(Created page with "{{Documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> == Usage == === Function === This template generates a link to all subpages of the page it i...")
 
No edit summary
Line 14: Line 14:


Use {{para|page}} to use the template to generate a list for another page: {{tnull|Subpages|1{{=}}All subpages of my talk page|page{{=}}User talk:ExampleUser}}
Use {{para|page}} to use the template to generate a list for another page: {{tnull|Subpages|1{{=}}All subpages of my talk page|page{{=}}User talk:ExampleUser}}
=== See also ===
* {{[[template:list subpages|list subpages]]}} (list subpages on the page, or list other subpages given a namespace or prefix)


<includeonly>
<includeonly>
Line 25: Line 21:
{{DEFAULTSORT:Subpages}}
{{DEFAULTSORT:Subpages}}
[[Category:Search templates]]
[[Category:Search templates]]
[[Category:Wikipedia formatting and function templates]]
[[Category:Archive formatting and function templates]]
[[Category:internal link templates]]
[[Category:internal link templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[pt:Predefinição:Subpáginas]]
[[sl:Predloga:Subpages]]
</includeonly>
</includeonly>

Revision as of 06:09, 1 November 2015


Usage

Function

This template generates a link to all subpages of the page it is placed on, using Special:Prefixindex. It is mainly intended for WikiProjects or users wanting to track their subpages in an easy and convenient way.

Parameters

This template does not require any parameters; "{{subpages}}" generates "all subpages of this page". The label of the link is an optional parameter; "{{subpages|optional label}}" generates "optional label".

Use |page= to use the template to generate a list for another page: {{subpages|1=All subpages of my talk page|page=User talk:ExampleUser}}