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

...

Page info
title
title

The label - options macro generates a selectable list of labels which may be applied to the current page. The selectable list appears in the Edit Contents 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 on the label options macro

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
More information

An example follows.

Code Block

{list-data:[Available Labels]}
{label-options:[labeloptiontest1, labeloptiontest2]}
{list-data}

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 or labels to apply to the page.

list-data
nameAvailable Labels
separatornewline
labeloptiontest1, labeloptiontest2 
Wiki Markup
{scrollbar:icons=false}