Difference between revisions of "Wiki/mediawiki/extensions/subPageList3"

From Adam Meola - wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
Note: The below assumes you've installed the plugin.
 
Note: The below assumes you've installed the plugin.
  
:: 1) To list all of the children of a given top level page
+
:: 1) To list all of the children of a given page:
  
 
<code>&lt;code&gt;&#10;&lt;splist&#10;parent=[PageYourWantHere]&#10;showparent=no&#10;sort=asc&#10;sortby=title&#10;liststyle=unordered&#10;showpath=no&#10;kidsonly=no&#10;debug=0&#10;/&gt;&#10;&lt;/code&gt;</code>
 
<code>&lt;code&gt;&#10;&lt;splist&#10;parent=[PageYourWantHere]&#10;showparent=no&#10;sort=asc&#10;sortby=title&#10;liststyle=unordered&#10;showpath=no&#10;kidsonly=no&#10;debug=0&#10;/&gt;&#10;&lt;/code&gt;</code>
 +
 +
 +
:: 2) To list all of the children the page you're editing:
 +
 +
<code>&lt;code&gt;&#10;&lt;splist&#10;showparent=no&#10;sort=asc&#10;sortby=title&#10;liststyle=unordered&#10;showpath=no&#10;kidsonly=no&#10;debug=0&#10;/&gt;&#10;&lt;/code&gt;</code>

Revision as of 18:49, 30 August 2020

Full documentation from the author(s) available at: https://www.mediawiki.org/wiki/Extension:SubPageList3

I use subPageList3 in 2 ways.

Note: The below assumes you've installed the plugin.

1) To list all of the children of a given page:

<code> <splist parent=[PageYourWantHere] showparent=no sort=asc sortby=title liststyle=unordered showpath=no kidsonly=no debug=0 /> </code>


2) To list all of the children the page you're editing:

<code> <splist showparent=no sort=asc sortby=title liststyle=unordered showpath=no kidsonly=no debug=0 /> </code>