Macro to be deleted — Confluence Cloud Macro
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
User Parameters
This macro comes without configurable user parameters.
Template
#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>
#else
## Do nothing
## This block will be shown on the Page VIEW mode
#endRecommended Macros
Shows a mention of the user who created the current page. If it's a current user, mention blue. If it's another user, mention gray.
Compare unique and common groups between two users
Add a floating scroll-to-top arrow button in pages. Always visible, lightweight, and improves navigation for long documents.
Basic greeting for user
Content that is shown only if a user is in a particular group
Perform customized searches based on labels, content types, and other parameters.
Improve default Confluence tables with sorting, filtering, pagination, and CSV export features
Find image within page attachments. Handy for reuse files and update them all at once