Reference:SubPageList: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 15: Line 15:
<span>Listing the subpages of the current page using default settings:</span><div>
<span>Listing the subpages of the current page using default settings:</span><div>
  <syntaxhighlight language="text">{{#subpages:}}</syntaxhighlight>
  <syntaxhighlight language="text">{{#subpages:}}</syntaxhighlight>
If any of the subpages contains the <code><bs:timeline></code> tag or the parser function <code>{{#tag:bs:timeline}}</code>, the page value cannot be empty. In this case, use  
If any of the subpages contains the <code><nowiki><bs:timeline></nowiki></code> tag or the parser function <code><nowiki>{{#tag:bs:timeline}}</nowiki></code>, the page value cannot be empty. In this case, use:
  <syntaxhighlight language="text">{{#subpages:{{FULLPAGENAME}}}}</syntaxhighlight>
  <syntaxhighlight language="text">{{#subpages:{{FULLPAGENAME}}}}</syntaxhighlight>
</div><span>Listing subpages for page "MyAwesomePage":</span><div>
</div><span>Listing subpages for page "MyAwesomePage":</span><div>

Revision as of 15:13, 21 April 2023

Extension: SubPageList

all extensions

Overview
Description: Allows to list and count subpages
State: stable Dependency: MediaWiki
Developer: Jeroen De Dauw License: GPL v2+
Type: MediaWiki Category: Content Structuring
Edition: BlueSpice pro, BlueSpice free, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. Version: 4.1+
For more info, visit Mediawiki.

Features

is available from BlueSpice 4.2.


Examples

Listing the subpages of the current page using default settings:
{{#subpages:}}

If any of the subpages contains the <bs:timeline> tag or the parser function {{#tag:bs:timeline}}, the page value cannot be empty. In this case, use:

{{#subpages:{{FULLPAGENAME}}}}
Listing subpages for page "MyAwesomePage":
{{#subpages:MyAwesomePage}}
Listing subpages using an ordered list:
{{#subpages:format=ol}}
Full page names that are not linked:
{{#subpages:pathstyle=full|links=no}}
The full user documentation can be found on gitub: https://github.com/JeroenDeDauw/SubPageList/blob/master/doc/USAGE.md

Accessibility

Test status: 2-testing complete
Checked for: Web, Authoring tool
Last test date: 2022-08-10
WCAG level: AA
WCAG support: supports
Comments:

Authoring tool: tag/parser function inserted in source edit mode.

Web: Various output options, including standard html lists.

Extension type: core
Extension focus: reader