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.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{scrollbar:icons=false}

Page info
title
title

The set data macro allows the user to enter text in a single-line or multiple-line text field.

More information

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

The general form is

Code Block
{set-data:[Field Name]|type=[text/number/date/boolean/content/attachment/user|format=[date or number format]|hidden=[true/false]}Value{set-data}

An example follows.

Code Block
{set-data:TestSetDataField|type=text}Test of Set-data{set-data}

The set data macro establishes the data.

Set Data
nameTestSetDataField
typetext
Test of Set-data

The get data macro displays the data.

Code Block
{get-data:name=TestSetDataField}{get-data}
Get Data
nameTestSetDataField
separatornewline
 
Wiki Markup
{scrollbar:icons=false}