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}} | ||
<includeonly> | <includeonly> | ||
Line 25: | Line 21: | ||
{{DEFAULTSORT:Subpages}} | {{DEFAULTSORT:Subpages}} | ||
[[Category:Search templates]] | [[Category:Search templates]] | ||
[[Category: | [[Category:Archive formatting and function templates]] | ||
[[Category:internal link templates]] | [[Category:internal link templates]] | ||
</includeonly> | </includeonly> |
Revision as of 06:09, 1 November 2015
This is a documentation subpage for Template:Subpages. It contains usage information, categories and other content that is not part of the original template page. |
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}}