This macro helps you to caption content. The caption numbers are auto-incremented according to the type of content. For example figures, and tables.
To work with Captioned Item, you must install Numbered Caption application. For more information, see Installation.
This page provides you with information about the following articles:
Parameters
The following table provides you with a description of the parameters:
Parameter Name | Default | Mandatory | Description |
---|---|---|---|
Caption name | Figure | ✅ | Enter the name of the caption for the content. The Caption name functions as a base and the content is auto-numbered based on the caption name.
|
Anchor name | ❌ | ❌ (With constraints) | The name allows you to link the content to another section or a page.
|
Caption | ❌ | ❌ | Enter the caption for the content. The caption serves as a description to the content and it is displayed alongside the Caption name. |
Horizontal Alignment | Center | ❌ | Choose the horizontal alignment for the content from the drop-down menu. The following are the available alignment options:
|
Position | Bottom | ❌ | Choose the position of the caption from the drop-down menu. The following are the available position options:
|
To change parameter configuration, refer Configuration.
Working with Parameters
EXAMPLE 1
EXAMPLE 2
EXAMPLE 3
Creating ‘Captioned Item’ Macro
To create a Captioned Item, perform the following steps:
1.Create a new page or go to Edit the page where you want to create caption.
2. Click the + icon and search for the Captioned Item macro
(or) you can type /caption, the list with caption macro suggestions is displayed, and you can select the Captioned Item macro.
3. Select Captioned Item and click Insert. The Insert 'Captioned Item' Macro window is displayed.
4. Enter the following details and click Insert.
For more information, refer Parameters.
A Caption name
B (Optional) Anchor name
C (Optional) Caption
D (Optional)Horizontal Alignment
E (Optional)Position
To caption text content, enter the text in the Insert text box.
To caption figures and tables, leave the Insert text box blank.
Editing ‘Captioned Item’ Macro
To edit a Captioned Item, perform the following:
You must be in the Edit mode to edit a macro block.
1. Select the macro block and click the button. The Edit 'Captioned Item' Macro window is displayed.
2. You can change any of the parameters that you want to change and then click the Save button.
Deleting ‘Captioned Item’ Macro
To delete a Captioned Item, select the macro block and click button. The block is deleted.
You must be in the Edit mode to delete a macro block.