NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

Fixed row table with Scaffolding Text-data form boxes inserted into each non-header row

...

Date

...

Type

...

Note

...

Assignee

...

The wiki markup to generate this table follows.

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} |

Date

Type

Note

Assignee

Text Data
DateValue
DateValue

Text Data
TypeValue
TypeValue

Text Data
NoteValue
NoteValue

Text Data
AssigneeValue
AssigneeValue

Adjustable row table created with Scaffolding table-data macro, with Scaffolding Text-data form boxes inserted into the first non-header row

...

Date

Type

Note

Assignee

DateValue

TypeValue

NoteValue

AssigneeValue

...

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}

Table Data
ExampleTable
ExampleTable

Date

Type

Note

Assignee

DateValue

TypeValue

NoteValue

AssigneeValue

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..

Table Data
Name
Name

Heading 1

Heading 2

Data 1

Data 2

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

...

Heading 1

...

Heading 2

...

Data 1

...

Scrollbar
iconsfalse