Reference:SubPageList: Difference between revisions

No edit summary
Tag: 2017 source edit
m (Text replacement - "BlueSpice Farm" to "BlueSpice farm")
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
|developer=Jeroen De Dauw
|developer=Jeroen De Dauw
|type=MediaWiki
|type=MediaWiki
|edition=BlueSpice pro, BlueSpice free, BlueSpice Farm, BlueSpice Cloud
|edition=BlueSpice pro, BlueSpice free, BlueSpice farm, BlueSpice cloud
|compatible=MediaWiki
|compatible=MediaWiki
|category=Content Structuring
|category=Content Structuring
|license=GPL v2+
|license=GPL v2+
|bsvFrom=4.2
|docu=https://www.mediawiki.org/wiki/Extension:SubPageList
|docu=https://www.mediawiki.org/wiki/Extension:SubPageList
|features=
|features=
{{BSVersion|bsvFrom=4.2|bsvTo=|bsvFeature=}}


=== <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>
  <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>

Latest revision as of 10:50, 7 June 2024

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 cloud Version: 4.2+
For more info, visit Mediawiki.

Features

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