The macro displays a warning message in Confluence Page Edit mode, instructing editors to delete the deprecated macro. In published mode, it hides the content. Useful on migrations or View/Edit page rendering differentiation. More details: rendering modes
#if ($renderContext.outputType == "preview")
## Show warning banner
## This block will be shown on the Page EDIT mode
<div style="background-color: var(--ds-background-accent-yellow-subtlest, #FFF7D6); padding: 10px; border-radius: 3px;">
<div style="display: inline-block; vertical-align: top; width: 30px; text-align: center; margin-top: 4px;">
<ac:image ac:width="19" ac:height="19">
<ri:url ri:value="https://api.iconify.design/mdi/alert.svg?color=%23e67e22" />
</ac:image>
</div>
<div style="display: inline-block; width: 95%;">
<div style="font-weight: bold; margin: 1px 0 5px 0;">
Delete me
</div>
<div style="margin: 3px 0 5px 0; white-space: normal; width: 95%;">
This macro is no longer available. Please delete it.
</div>
</div>
</div>
#endGet the latest cryptocurrency exchange rates for major coins
Create dropdown menus in Confluence Cloud with predefined option sets, multiselect support, and permission-based access controls
Create dropdown menus in Confluence Cloud with custom option sets, multiselect support, and permission-based access controls
Display the creation date of the current Confluence page
Show filtered issues and their relations
Show an expandable page tree for a selected parent page, defaulting to the current page
Display an overview of all pages in a space, including title, version, and last updated date
Dynamically list all child pages of the current page in a table format
Show H1 headings for child topics to enable easy navigation
Display the top comments from a selected Confluence page, or from the current page by default