Template:Subpages/sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|tables = _pageData | |tables = _pageData | ||
|fields = {{#if: {{{count|}}} |COUNT(DISTINCT _pageData._pageName) |_pageData._pageName}} | |fields = {{#if: {{{count|}}} |COUNT(DISTINCT _pageData._pageName) |_pageData._pageName}} | ||
|where = _pageData._pageName LIKE "{{{page|{{FULLPAGENAME}}}}}/%" {{yesno |{{{show_redirects|yes}}} |no= AND NOT _pageData._isRedirect }} | |where = _pageData._pageName LIKE "{{{page|{{FULLPAGENAME}}}}}/%" {{yesno|{{{show_redirects|yes}}}|yes=|no=AND NOT _pageData._isRedirect}} | ||
|format = ul | |format = ul | ||
}} | }} |
Revision as of 19:40, 11 June 2022
This is the template sandbox page for Template:Subpages (diff).
Links subpages.
Parameters
Parameter | Required | Description |
---|---|---|
page | ✗
|
Page to check for subpages. Defaults to {{FULLPAGENAME}} .
|
count | ✗
|
Count the number of subpages. |
show_redirects | ✗
|
Whether to list redirect pages. Default: yes |
columns | ✗
|
Number of columns in the list. Defaults to 4. |
Examples
{{Subpages|page=Template:Cargo}}
yields
The above documentation is transcluded from Template:Subpages/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.