Difference between revisions of "Template:SubPages"

From Wikispooks
Jump to navigation Jump to search
(display size of subpages)
m (Text replacement - "captionSingular" to "caption_singular")
Line 12: Line 12:
  
 
-->
 
-->
|captionSingular= Sub-Page
+
|caption_singular= Sub-Page
 
|captionPlural= Sub-Pages
 
|captionPlural= Sub-Pages
 
|mainlabel =          Page Name          
 
|mainlabel =          Page Name          

Revision as of 13:23, 15 January 2016

This semantic template creates a section heading plus a list of subpages and their descriptions. it is probably best used immediately after a page's object template. Since September 2014, all pages with an infobox automatically include a list of subpages in that, so use of this template is optional (but recommended).

It works by checking Property:Has parentFullPageName and Property:Has fullPageName.
It only includes sub-pages which have these properties set - so in order to show up, subpages have to include Template:SMWDocs.