Show If
Description
This macro will show its contents to the viewer if the context matches the parameters specified.
If you have large content on Cloud, consider breaking it into smaller chunks over multiple Show If macros to avoid performance issues.
Notes about migration
Some legacy Macro parameters from Confluence Server are not supported yet. More details on our FAQ page.
In Confluence Cloud, the legacy Macro parameters will be shown in a section that is accessible by showing and hiding the legacy field parameters dropdown.
If the migrated macro has no legacy parameters, the "Show legacy field parameters" dropdown will not be visible in the macro editor.
 Be aware that content is only hidden in the Confluence page view, and that the content is still available when editing a page, viewing page history, email notifications, etc. To truly secure sensitive information, consider using the Security & Encryption app instead.
Parameters
Name | Required | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|
Match Using | (X) | YES | any | If set to "all", then all items listed must match. |
Users | (X) | YES | Â | The list of user(s) to match. Type the username and select from the dropdown option. |
Authentication type | (X) Â | YES Â | None | The user to match, using authentication type:
|
User Groups | (X) Â | YES Â | Â | The list of user group(s) to match. Type the group name and select from the dropdown option. (Cloud only) The group(s) to match, separated by comma or semicolon (Server and Data Center only). e.g.: 'confluence-users' will match all logged in users. |