---
title: "Captioned Item Macro (Cloud)"
canonical: "https://support.appfire.com/space/NC/77463610/Captioned%20Item%20Macro%20(Cloud)"
format: markdown
---
> Macro (aura-html)

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](https://appfire.atlassian.net/wiki/spaces/NC/pages/77463802/Installation+Cloud).

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 | Yes | 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.<br>> For example:
> 
>  If you are captioning a table, specify the *Caption name* as the table. 
> 
> All content with* *the* Caption name* as a table is auto-numbered based on the position of the content. |
| *Anchor name* | None | No<br>(With constraints) | The name allows you to link the content to another section or a page.<br>> ℹ️ - You must specify Anchor to use the content as a reference on any other page or on the existing page.
> ℹ️ - This is only a reference name; it will not appear in the UI. |
| *Caption* | None | No | 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 | No | Choose the horizontal alignment for the content from the drop-down menu.<br>The following are the available alignment options:<br>- *Left*
- *Center*
- *Right* |
| *Position* | Bottom | No | Choose the position of the caption from the drop-down menu.<br>The following are the available position options:<br>- *Top*
- *Bottom* |

> ℹ️ To change parameter configuration, refer [Configuration](https://appfire.atlassian.net/wiki/spaces/NC/pages/77463887).

 

> ℹ️ ### Working with Parameters

[Example 1] 

<details>
<summary>Caption name: figure, Anchor name: default, caption: default, Horizontal alignment: default, Position: default</summary>

This will display the reference in the following format:

> Caption name (number):

![image](media://f5e4417c-b4a9-4617-8018-8e6b6ed53db5)
</details>

[Example 2] 

<details>
<summary>Caption name: figure, Anchor name: default, caption: Reading book in the garden, Horizontal alignment: default, Position: default</summary>

This will display the reference in the following format:

> Caption name (number): Caption

![image](media://234ef39f-3c31-4854-b9aa-92bef1779546)
</details>

[example 3] 

<details>
<summary>Caption name: figure, Anchor name: book, caption: Reading book in the garden, Horizontal alignment: default, Position: top</summary>

This will display the reference in the following format:

> Caption name (number): Caption

![image](media://234ef39f-3c31-4854-b9aa-92bef1779546)

> ℹ️ The anchor value has no effect on the format, but it must be specified if you want to refer to the image in a different section or page. For more information, refer [Caption Reference](https://appfire.atlassian.net/wiki/spaces/NC/pages/77463841).
</details>


> ℹ️ ### 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](https://appfire.atlassian.net/wiki/spaces/NC/pages/77463610/Captioned+Item+Macro+Cloud#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 edit 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 remove button. The block is deleted.

> ℹ️ You must be in the **Edit** mode to delete a macro block.