Page History
Wiki Markup |
---|
{scrollbar:icons=false} |
Hide Data with Hidden-data Macro
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.
Multiexcerpt 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 is not completed in the Edit Contents view.
Hidden Data | |||||||
---|---|---|---|---|---|---|---|
| |||||||
This whole section is hidden if the text below is blank.
|
Wiki Markup |
---|
{scrollbar:icons=false} |