Template:Subpages/doc

From Saintapedia
< Template:Subpages
Revision as of 19:09, 23 September 2024 by Tom (talk | contribs) (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 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; "<nowiki>{{subpages}}</nowiki>" generates "{{subpages}}". The label of the li...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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)