NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
|| Date || Type || Note || Assignee ||
| {text-data:DateValue}{text-data} | {text-data:TypeValue}{text-data} | {text-data:NoteValue}{text-data} | {text-data:AssigneeValue}{text-data} |
Adjustable row table created with Scaffolding table-data macro, with Scaffolding Text-data form boxes inserted into the first non-header row

Table Data
ExampleTable
ExampleTable

Date

Type

Note

Assignee

DateValue

TypeValue

NoteValue

AssigneeValue

The wiki markup to generate this table follows.

Scaffolding Macros should no longer be enclosed inside Scaffolding tags.
Code Block
{table-data:ExampleTable}
|| Date || Type || Note || Assignee ||
| {text-data:DateValue}{text-data} | {text-data:TypeValue}{text-data} | {text-data:NoteValue}{text-data} | {text-data:AssigneeValue}{text-data} |
{table-data}
Warning
titleScaffolding Tags - Do Not Use
Scaffolding table-data macro

The table-data macro allows for dynamic addition and deletion of rows in a table in Edit view.

The general form is shown in the markup that follows.

Code Block

{table-data:Name}
|| Heading 1 || Heading 2 ||
| {xxx-data:Data 1}{xxx-data} | {xxx-data:Data 2}{xxx-data} |
{table-data}

The general form with the text-data macro follows, with an example preceded by the markup.

Code Block

{table-data:Name}
|| Heading 1 || Heading 2 ||
| {text-data:Data 1}{text-data} | {text-data:Data 2}{text-data} |
{table-data}

Table Data
Name
Name

Heading 1

Heading 2

Data 1

Data 2

More information

Scrollbar
iconsfalse