Команда (:childlist:) предназначена для вставки в вики-страницу списка дочерних страниц:
Command (: childlist:) is designed to be inserted into a wiki page list of nested pages:
(:childlist [params...]:)
В команде (:childlist:) может быть использован параметр sort, который указывает порядок сортировки. Параметр sort может принимать следующие значения:
In the (:childlist:) command can be used sort parameter, which specifies the sort order. Parameter sort can be the following:
If sort parameter is not specified, then page names in the list will be sorted as in the tree.
У данной страницы имеются четыре дочерние страницы, следующая таблица показывает результат работы команды (:childlist:) с различными значениями параметра sort:
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 |