Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
indextrue
titleDescription

Hides a text fragment from a user that has no edit permissions. This helps to remove clutter from the document that would distract the attention of the reader.

Transclusion
documentSecurity Note for Hide Macros
idsbox



Section
titleProperties


Section
titleReplacement

The text to show instead of the hidden text.


Section
titleInline

If checked, the replacement element is rendered inline, otherwise as a block.

Version Box
since1.3

This parameter is supported since version 1.3.




Section
titleDetails

Example

To hide the Create from Template macro from users without edit permissions, use the following:

Code Block
languagexml
titleExample: Hide from Anonymous User with Create From Template Macro
<ac:structured-macro ac:name="projectdoc-hide">
  <ac:parameter ac:name="atlassian-macro-output-type">BLOCK</ac:parameter>
    <ac:rich-text-body>
      <p>
        <ac:structured-macro ac:name="create-from-template">
        <ac:parameter ac:name="buttonLabel">Create New</ac:parameter>
        <ac:parameter ac:name="spaceKey">
          <ri:space ri:space-key="MYSPACE"/>
        </ac:parameter>
        ...
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>


...

Section
indextrue
titleRelated macros


Section
titleHide Macros

Macros whose main concern is to hide content.

Display Table
doctypemacro
where$<Tags>=[Hide]
header-translationsName=Macro


Section
titleContent Macros

Macros that allow their content to be hidden.

Tour
header-translationsTitle=Macro


TitleShort Description
Content Marker Macro
Section Macro





Section
indextrue
titleSub-Macros
Display Table
doctypemacro
render-no-hits-as-blanktrue
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name

...