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

...

Group Data with the Group Data Macro

...

The group-data macro allows data to be grouped within a named data set. This replaces the scaffolding macro. This page shows the general form and examplesan example.

More information

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

The general form is:

Code Block
{group-data:name}
  {xxx-data:sub-field}
{group-data}

An example follows.

Code Block

{group-data:MeetingInformation}
  {text-data:NextMeeting|type=line}{text-data}
  {date-data:MeetingDateTime|format=yyyy-MMM-dd HH-mm-ss}today{date-data}
{group-data}

The group data macro establishes the group. The text data macro establishes the field name, Next meeting:. The date data macro establishes the day and time, initially the date the macro was created with the time not specified. In the Edit Contents view, select a different date and enter the time.

Group Data
nameMeetingInformation

...

NextMeetingBLOCKline

Next meeting:

MeetingDateTimeyyyy-MMM-dd HH-mm-ssBLOCK
Note

Editing in the Edit Contents view suppresses output of macros entered in earlier versions of Confluence. Line breaks between the field name and date and time are not rendered.

Scrollbar
iconsfalse