Template:Subpages: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Illviljan
mNo edit summary
m (8 revisions imported)
 
(2 intermediate revisions by the same user not shown)
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}}}}}/%"
|where = _pageData._pageName LIKE "{{{page|{{#ifeq:{{lc:{{SUBPAGENAME}}}}|doc|{{SUBJECTSPACE}}:{{BASEPAGENAME}}|{{FULLPAGENAME}}}}}}}/%" {{yesno|{{{show_redirects|yes}}}|yes=|no=AND NOT _pageData._isRedirect}}
|format = ul
|format = ul
}}
}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 19:03, 25 September 2024

Template documentation[view] [edit] [history] [purge]


Links subpages.

Parameters

Parameter Required Description
page No Page to check for subpages. Defaults to {{FULLPAGENAME}}.
count No Count the number of subpages.
show_redirects No Whether to list redirect pages. Default: yes
columns No Number of columns in the list. Defaults to 4.

Examples

{{Subpages|page=Template:Cargo}}

yields