![]() |
Page History
...
Refer to Attachments and Scaffolding Macros.
List of content by type of content
The content-options macro generates a list of Confluence content according to content type. 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.
The general form is:
Code Block |
---|
{content-options:parent=[parent page]|ancestor=[ancestor page]|spaces=[space list]|branches=[all, parents, children]} |
The markup for two examples follows:
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 Plugin. Using them suppresses execution of the content-options macro; therefore they were omitted from the example to be shown on this page.
Code Block |
---|
{list-data:Children}
{content-options:parent=@self}
{content-options}
{list-data} |
This is rendered as follows.
List Data | ||||
---|---|---|---|---|
| ||||
|
List of users: user-options macro
...
List Data | ||||
---|---|---|---|---|
| ||||
|
Scrollbar | ||
---|---|---|
|