The Lozenge macro creates a lozenge button with optional link.This macro creates a professional lozenge effect that's ideal for creating professional looking buttons, or simply highlighting important information.
The Lozenge macro is designed for small amounts of content (although the width can be changed to accommodate more content if required). This is to ensure that the content contained within the lozenge is concise, and in turn leads to an improved user experience.
Click Insert > Other Macros.
Select the Lozenge macro from the provided list.
Complete the desired fields.
| Parameter | Description | Type | Default | Required? |
| Page or URL | If specified, clicking the lozenge will go to the specified link. | string | none | |
| Icon | The url for an image (no larger than 48x48 pixels) or even text if desired. | string | none | |
| Title | The title of the lozenge, also used as the tooltip for links. | string | none | |
| Color | Specifies the color of the left portion of the lozenge. | single select | none | |
| Arrow | Defines which arrow to use on the left portion of the lozenge:
| single select | none | |
| Width | The width of the entire lozenge in px or %. Specify auto to make the lozenge automatically stretch to fit its contents. | string | none | |
| Use the table based lozenge | Compatibility setting for use if the lozenge does not display correctly in older browsers. | checkbox | unselected |
The macro will then appear on the page.
The body of the macro should contain the summary text. This can, for example, be used to place excerpts in to the lozenge using the excerpt-include macro.
If the macro parameter "Page or URL" is supplied with a value that does not exist, when clicking the lozenge the first time Confluence will create a new child page with the value supplied in the "Page or URL" parameter. On subsequent attempts Confluence will navigate to the created page.
There are 9 colors to choose from for the left side of the lozenge, and two colors for the arrow with the option to show no arrow.
Color | No Arrow | Blue Arrow | Green Arrow |
|---|---|---|---|
Color | No Arrow | Blue Arrow | Green Arrow |
bronze | |||
silver | |||
gold | |||
blue | |||
cyan | |||
green | |||
purple | |||
pink | |||
red |
Create a simple lozenge as follows:
Resulting in: