Назначение и синтаксис команды (:attachlist:)


Purpose and syntax (:attachlist:) command

Команда (:attachlist:) предназначена для вставки в вики-страницу списка прикрепленных файлов:

(: attachlist:) command is designed to be inserted into a wiki page list of attachments:

(:attachlist [params...]:)

Дополнительно в команде (:attachlist:) может быть использован параметр sort, который указывает порядок сортировки файлов. Параметр sort может принимать следующие значения:

Additionally, the command (: attachlist:) can be used sort parameter, which specifies the sort order of files. Sort parameter can be the following:


Examples

У данной страницы имеется пять вложенных файлов, следующая таблица показывает результат работы команды (:attachlist:) с различными значениями параметра sort:

At current page there are five attached files, the following table shows the output of the command (:attachlist:) with different values ​​of the parameter sort:

Command(:attachlist:)(:attachlist sort=ext:)(:attachlist sort=descendext:)(:attachlist sort=size:)
Resultanchor.png
first.jpg
image.gif
image.jpg
image.png
image.gif
first.jpg
image.jpg
anchor.png
image.png
image.png
anchor.png
image.jpg
first.jpg
image.gif
anchor.png
first.jpg
image.jpg
image.gif
image.png