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
Scrollbar
iconsfalse

Page info
title
title

The list data and label - options macro generates macros generate a selectable list of labels which may be applied to the current page. The selectable list appears in Edit view. Once selected, a label appears on the page unless the hidden-data macro is used.

The label may be removed in the label editing interface. However, selecting another label adds back the label originally selected. That is, selection of labels using this macro is cumulative. It is possible to edit the page in Edit Layout view (wiki markup) without adding back a label that has been deleted.

More information

An example follows.

More information on the label options macro

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

The general form is

Code Block
Code Block

{list-data:[NameAvailable Labels]}
{label-options:[label1labeloptiontest1, label2labeloptiontest2]}
{list-data}

An example follows.

The list data macro establishes a selectable list. The label options macro establishes a list of labels. In the Edit Contents view, select the label to apply to the page. The most recently selected label is listed by label options macro and applied to the page.

list-data
nameAvailable Labels
separator

...

newline
labeloptiontest1, labeloptiontest2 
Scrollbar
iconsfalse