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 hidden data macro hides the content that is in the macro when the page is being viewed, while allowing the content to be modified in the Edit Contents view. This page shows the general form and provides an example.

More information

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

The general form is

Code Block
{hidden-data:whenEmpty=Name|whenNoRows=Name|whenHasRows=Name}
Hidden content.
{hidden-data}

An example follows.

Code Block
{hidden-data:whenEmpty=HiddenTextTest}
This whole section is hidden if the text below is blank.
{text-data:HiddenTextTest}{text-data}
{hidden-data}

The hidden data macro establishes the capability to hide data and contains a text data macro. The entire hidden data section is hidden because the text box from the text data macro is not completed in the Edit Contents view.

Hidden Data
whenEmptyHiddenTextTest

This whole section is hidden if the text below is blank.

Text Data
nameHiddenTextTest
contentwiki
 
Wiki Markup
{scrollbar:icons=false}