SubPageList demo

From Notaclue Wiki
Extension demonstration (infobox template)
SubPageList
Documentation

on GitHub

Maintained by WikiTeq?

No

Version

This wiki has the SubPageList extension installed, which adds two new parser tags and two related parser functions: <subpages> and {{#subpages:}}, and also <subpagecount> and {{#subpagecount:}}.

Since the parser tags behave almost identically to the parser functions, only the functions are demonstrated below.

Listing subpages[edit | edit source]

To list the subpages of a specific page, e.g. those of TabberNeue demo, use {{#subpages:TabberNeue demo}} or {{#subpages:page=TabberNeue demo}}, both of which produce:

By default, the list is formatted as a bulleted list, and each entry links to the specific page. If no page parameter is given, the subpages for the current page are returned. There are extensive further configuration options that are documented on GitHub.

Counting subpages[edit | edit source]

To count the subpages of a specific page, e.g. those of TabberNeue demo, use {{#subpagecount:TabberNeue demo}} or {{#subpagecount:page=TabberNeue demo}}, both of which produce:

3

Like for listing subpages, if no base page is specified the default is the current page. There are no additional configuration options when getting the count of subpages.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.