Reference:SubPageList: Difference between revisions

No edit summary
No edit summary
Tag: 2017 source edit
 
(4 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 free, BlueSpice pro, 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
|active=Yes
|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>
  <nowiki>{{#subpages:}}</nowiki>
  <syntaxhighlight language="text">{{#subpages:}}</syntaxhighlight>
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>
</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  




{{translation}}
{{translation}}
}}
{{wcagCheck
|wcagStatus=2-testing complete
|wcagCheckedfor=Web, Authoring tool
|wcagTestdate=2022-08-10
|wcagLevel=AA
|wcagSupport=supports
|wcagComments=Authoring tool: tag/parser function inserted in source edit mode.
Web:  Various output options, including standard html lists.
|extensionType=core
|extensionFocus=reader
}}

Latest revision as of 17:11, 24 May 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 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

Discussions