![]() |
Page History
Scrollbar | ||
---|---|---|
|
...
Group Data with the Group Data Macro
...
The group-data macro allows stored data to be grouped within a named data set. This replaces the scaffolding macro.
Observation The words "Next meeting" were entered in Edit Data view, as the text-data macro specifies no text value. It's not possible to add a text value to the macro, once you have executed it without a text value. This mirrors the observation on the text-data test page.
. This page shows the general form and an example.
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
The general form is
Code Block |
---|
{group-data:name}
{xxx-data:sub-field}
{group-data}
|
An example follows.
Code Block |
---|
{group-data:MeetingInformation}
|
Code Block |
{text-data:NextMeeting|type=line}Next Meeting{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 |
---|
...
| ||
...
...
Next meeting: |
...
...
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 | ||
---|---|---|
|