Template:Subpages: Difference between revisions
Jump to navigation
Jump to search
(Created page with "[[Special:Prefixindex/{{#if:{{{page|}}}|{{{page}}}|{{FULLPAGENAME}}}}/|{{{1|all subpages of this page}}}]]<noinclude> {{Documentation}} </noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if: {{{1|}}} | | |||
{{Special:PrefixIndex/{{{1|}}}/}} | |||
|{{user other| | |||
{{Special:PrefixIndex/{{PAGENAME}}/}} | |||
| | |||
Usage is {{tlx|Subpages}} on a page or {{tld|Subpages|<page name>}} anywhere else.}} | |||
}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:13, 21 October 2024
Usage is {{Subpages}}
on a page or {{Subpages|<page name>}} anywhere else.
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 "Usage is {{Subpages}}
on a page or {{Subpages|<page name>}} anywhere else.". The label of the link is an optional parameter; "{{subpages|optional label}}" generates "".
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
- {{list subpages}} (list subpages on the page, or list other subpages given a namespace or prefix)