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 2 Next »

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 view. This page shows the general form and provides an example.

More information

The general form is:

{hidden-data:whenEmpty=Name|whenNoRows=Name|whenHasRows=Name}
Hidden content.
{hidden-data}
{hidden-data:whenEmpty=HiddenTextTest}
This whole section is hidden if the text below is blank.
{text-data:HiddenTextTest}{text-data}
{hidden-data}

  • No labels