Template:Subpages/doc: Difference between revisions

From Guild of Archivists
No edit summary
(Undo revision 1387 by Alahmnat (talk))
 
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 21: Line 25:
{{DEFAULTSORT:Subpages}}
{{DEFAULTSORT:Subpages}}
[[Category:Search templates]]
[[Category:Search templates]]
[[Category:Archive formatting and function templates]]
[[Category:Wikipedia 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>

Latest revision as of 06:13, 1 November 2015


Usage[edit]

Function[edit]

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[edit]

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}}

See also[edit]

  • {{list subpages}} (list subpages on the page, or list other subpages given a namespace or prefix)