Reference:SubPageList: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 14: Line 14:
=== <span class="mw-headline">Examples</span> ===
=== <span class="mw-headline">Examples</span> ===
<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>
  <nowiki>{{#subpages:}}</nowiki>
  <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
<syntaxhighlight language="text">{{#subpages:{{FULLPAGENAME}}}}</syntaxhighlight>
</div><span>Listing subpages for page "MyAwesomePage":</span><div>
</div><span>Listing subpages for page "MyAwesomePage":</span><div>
  <nowiki>{{#subpages:MyAwesomePage}}</nowiki>
  <syntaxhighlight language="text">{{#subpages:MyAwesomePage}}</syntaxhighlight>
</div><span>Listing subpages using an ordered list:</span><div>
</div><span>Listing subpages using an ordered list:</span><div>
  <nowiki>{{#subpages:format=ol}}</nowiki>
  <syntaxhighlight language="text">{{#subpages:format=ol}}</syntaxhighlight>
</div><span>Full page names that are not linked:</span><div>
</div><span>Full page names that are not linked:</span><div>
<nowiki>{{#subpages:pathstyle=full|links=no}}</nowiki>
  <syntaxhighlight language="text">{{#subpages:pathstyle=full|links=no}}</syntaxhighlight>
</div>The full user documentation can be found on gitub: https://github.com/JeroenDeDauw/SubPageList/blob/master/doc/USAGE.md  
</div>The full user documentation can be found on gitub: https://github.com/JeroenDeDauw/SubPageList/blob/master/doc/USAGE.md  



Revision as of 16:12, 21 April 2023

For our Cloud customers with BlueSpice version 5: Please switch to the BlueSpice 5 helpdesk.

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

, 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