![]() |
Page History
Wiki Markup |
---|
{scrollbar:icons=false}
h1. |
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
...
view.
...
This
...
page
...
shows
...
the
...
general
...
form
...
and
...
provides
...
an
...
example.
...
The general form is:
Code Block |
---|
information|http://www.customware.net/repository/display/AtlassianPlugins/hidden-data] The general form is: {code}{hidden-data:whenEmpty=Name|whenNoRows=Name|whenHasRows=Name} Hidden content. {hidden-data}{ |
Code Block |
---|
{} {code}{hidden-data:whenEmpty=HiddenTextTest} This whole section is hidden if the text below is blank. {text-data:HiddenTextTest}{text-data} {hidden-data} {code} |
The
...
output
...
is
...
hidden
...
because
...
the
...
text
...
box
...
is
...
not
...
completed
...
in
...
Edit
...
view.
...
Hidden Data |
---|
...
|
...
|
...
This |
...
whole |
...
section |
...
is |
...
hidden |
...
if |
...
the |
...
text |
...
below |
...
is |
...
blank. |
...
|
Wiki Markup |
---|
:HiddenTextTest}{text-data}
{hidden-data}
{scrollbar:icons=false} |