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
Wiki Markup
{scrollbar:icons=false}

Tabluar Form Created with Scaffolding Macros Table-data and Text-data

This page shows the following:

Table of Contents
minLevel5

More information

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

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
nameDateValue
contentwiki

Text Data
nameTypeValue
contentwiki

Text Data
nameNoteValue
contentwiki

Text Data
nameAssigneeValue
contentwiki

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

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
nameExampleTable
orderasc

Date

Type

Note

Assignee

wikiDateValueINLINE

wikiTypeValueINLINE

wikiNoteValueINLINE

wikiAssigneeValueINLINE

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:

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.

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
nameName
orderasc

Heading 1

Heading 2

wikiData 1INLINE

wikiData 2INLINE

Wiki Markup
{scrollbar:icons=false}