![]() |
Page History
Scrollbar | ||
---|---|---|
|
Page info | ||||
---|---|---|---|---|
|
This page explains how to generate lists as follows.
Table of Contents | ||
---|---|---|
|
List of attachments
Refer to Attachments and Scaffolding Macros.
List of content by type of content: content-options macro
The content-options macro generates a list of Confluence content according to content type. Items One or more items on the list may be selected as an option or as options. This may be, for example, pages or blog posts. The option that was last selected is displayed on the page.
...
Code Block |
---|
{content-options:parent=[parent page]|ancestor=[ancestor page]|spaces=[space list]|branches=[all, parents, children]} |
An example follows. The markup for two examples follows:complete markup includes macros are from the Reporting Plugin, not installed on this wiki.
Code Block |
---|
{list-data:Children} {content-options:parent=@self} {text-sort:page:title|order=descending} {date-filter:page:modification date|minValue=-30d} {content-options} {list-data} |
The text-sort and date-filter macros are from the Reporting Pluginplugin. Using them suppresses execution of the content-options macro; therefore they were omitted from the example to be shown on this page.
...
List Data | ||||
---|---|---|---|---|
| ||||
|
List of users: user-options macro
The user-options macro generates a selectable list of users who match the reporting Reporting plugin filters specified, if that plugin is installed. The default user selected is the user who authored the macro.
...
The reporting plugin is not installed on this wiki. The following shows how the example is rendered without the text-sort and date-filter reporting macros.
List Data | ||||
---|---|---|---|---|
| ||||
Scrollbar | ||
---|---|---|
|