Template:Subpages: Difference between revisions
From Melvor Idle
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
<noinclude> | <noinclude> | ||
{{subpages}} shows all the subpages of a given page. It should not be used in the main namespace, only on pages such as user pages, Wiktionary pages and appendices. It takes one, optional parameter, the target page name. The default is {{PAGENAME}} | {{T|subpages}} shows all the subpages of a given page. It should not be used in the main namespace, only on pages such as user pages, Wiktionary pages and appendices. It takes one, optional parameter, the target page name. The default is {{T|PAGENAME}} | ||
{{subpages}}: shows the subpages for the current page (in this case, Template:subpages) | {{T|subpages}}: shows the subpages for the current page (in this case, Template:subpages) | ||
{{subpages|User:Example}}: shows the subpages for User:Example | {{T|subpages|User:Example}}: shows the subpages for User:Example | ||
</noinclude> | </noinclude> |
Latest revision as of 15:26, 27 January 2022
{{subpages}}
shows all the subpages of a given page. It should not be used in the main namespace, only on pages such as user pages, Wiktionary pages and appendices. It takes one, optional parameter, the target page name. The default is {{PAGENAME}}
{{subpages}}
: shows the subpages for the current page (in this case, Template:subpages){{subpages|User:Example}}
: shows the subpages for User:Example