Difference between revisions of "Template:SubpageList"

From Wikispooks
Jump to navigation Jump to search
(For automatic listing of subpages in infoboxes)
 
(longer list of subpages)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template makes a short list of subpages for use in infoboxes.'''[[category:Templates]]</noinclude><includeonly>
+
<noinclude>'''This template makes a short list of subpages for use in infoboxes.'''[[category:Semantic Templates]]</noinclude><includeonly>
{{#ask: [[Has rootFullPageName::{{FULLPAGENAME}}]][[Has fullPageName::~{{FULLPAGENAME}}/*]]
+
 
|?Has rootFullPageName
+
{{#ask: [[Has parentFullPageName::{{FULLPAGENAME}}]][[Has fullPageName::~{{FULLPAGENAME}}/*]]
 +
|?Has parentFullPageName
 +
|limit=229
 
|userparam={{FULLPAGENAME}}
 
|userparam={{FULLPAGENAME}}
 
|format=template
 
|format=template
 
|template=SubpageList/output}}
 
|template=SubpageList/output}}
 
</includeonly>
 
</includeonly>

Latest revision as of 20:57, 3 December 2017

This template makes a short list of subpages for use in infoboxes.