NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

More information on the table data macro

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

Fixed row table with Text Data form boxes inserted into each non-header cell

...

An example follows. Each cell outside the header contains a text data macro. In the Edit Contents view, complete the text boxes. The last data entered is shown.

Date

Type

Note

Assignee

Text Data
nameDateValue
contentwiki
 
Text Data
nameTypeValue
contentwiki
 
Text Data
nameNoteValue
contentwiki
 
Text Data
nameAssigneeValue
contentwiki
 

...

An example follows. The table data macro establishes a table. Text data macros in each cell establish input text boxes for the type of data indicated in the general form. In the Edit Contents view, complete the text bosesboxes. The last data entered is shown. Select the plus sign to add a row.

Table Data
nameExampleTable
orderasc

Date

Type

Note

Assignee

wikiDateValueINLINE wikiTypeValueINLINE wikiNoteValueINLINE wikiAssigneeValueINLINE 

...

Table

...

Data macro

The table - data macro allows for dynamic addition and deletion of rows in a table in the Edit Contents 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}

An example follows.

Table Data
nameName
orderasc

Heading 1

Heading 2

wikiData 1INLINE wikiData 2INLINE 

...