Command (: childlist:) is designed to be inserted into a wiki page list of nested pages:
(:childlist [params...]:)
In the (:childlist:) command can be used sort parameter, which specifies the sort order. Parameter sort can be the following:
In this page there are four child pages. The following table shows the output of the command (: childlist:) with different values of the sort parameter:
Command | (:childlist:) | (:childlist sort=name:) | (:childlist sort=descendname:) | (:childlist sort=descendorder:) |
Result | page 4
page 2 page 3 page 1 | page 1
page 2 page 3 page 4 | page 4
page 3 page 2 page 1 | page 1
page 3 page 2 page 4 |