NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The list-data macro generates a selectable list of options. One or more may be selected in Edit view. The last option selected appears on the page. By default, the first item is selected.

The general form is:

{list-data:Name|type=[select, check]|multiple=[true, false]}
{xxx-options}
{list-data}

More information

Plain List

The following generates a list of numbers from which to select.

{list-data:List}
{list-option}One{list-option}
{list-option}Two{list-option}
{list-option}Three{list-option}
{list-data}

One

Wikified List

The following generates a list of emoticons from which to select.

{list-data:Emoticon}
{list-option:Star}(*){list-option}
{list-option:Plus}(+){list-option}
{list-option:Minus}(-){list-option}
{list-data}

(star)

  • No labels