NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

...

Page info
title
title

This page explains how to generate lists as follows.

...

More information on the user options macro

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

List of attachments

Refer to Attachments and Scaffolding Macros.

...

An example follows. The complete markup includes the text sort and date fileter filter 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 were omitted from the example to be shown on this page. The markup for the example follows.

Code Block
{list-data:Children}
  {content-options:parent=@self}
  {content-options}
{list-data}

The list data macro establishes a list of child pages. The content options macro establishes characteristics of the list. In the Edit Contents view, select a page to list.

List Data
blankfalse
nameChildren
@self

 

 The example yields a blank list. Therefore the macros are not used on this page and the output is not shown.

List of users: user

...

options

...

macro

...

The general form is:

Code Block
{list-data:Users}
  {user-options:group=my-group|match=all}
    {text-sort:user:full name}
    {date-filter:signup date|minValue=-1y}
  {user-options}
{list-data}

The list data macro establishes a selectable list of users who match the user options and 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 macros are not used on this page and the output is not shown.

Scrollbar
iconsfalse