Skip to main content
Skip table of contents

Tab Wizard

This is a new Cloud macro, available since November 2022. It bundles the existing Navitabs macros Childtabs, Labeltabs, and Tabs and introduces the new option to select existing pages & embed external content.

This wizard helps you make the right choice and set all parameters within a single macro.

image-20240625-133045.png

Using this macro

New Confluence editor

  1. Edit your page, type “/Tab Wizard” and choose the macro “Tab Wizard”.

image-20240625-133146.png
  1. In the overlay, select one of the four options to create your new tab navigation. The options are explained in detail below.

  2. After you’ve selected, the overlay will adapt to show you all options.

    1. If you feel you have made the wrong selection, you can always go back to the Tab Wizard by using the button “Go back” at the bottom of the overlay.

    2. If you don’t want to add tabs, click “Cancel” to close the Tab Wizard.

  3. If you want to create tabs containing Confluence macros like Child Display, Jira, Page Properties Reports etc., the Tab Wizard is not the right choice. Please use the Tab Group and Tab Macro instead.

Legacy Confluence editor

Click to read about the Tab Wizard in the Legacy editor

We strongly recommend using the Tab Wizard macro in the new Cloud editor. However, if you need to use it in the Legacy editor, proceed as follows:

  1. Insert the Tab Wizard by using {Tab Wizard.

  2. Click into the macro and select “Edit”. This will open the Tab Wizard overlay.

  3. Choose the right macro setting (see the documentation below).

  4. Fill in your tabs in the macro overlay and tap “Save”.
    The content in the Tab Wizard macro will look something like this:

    ⚠️ Don’t edit tabs' content in this view. If you want to modify something, open the Tab Wizard interface again by tapping the macro and selecting “Edit”.

  5. Save your page to see the tab navigation in action.

Tips for more space

  • You can expand the macro overlay to span the entire screen width.

  • You can also shrink the macro settings on the left side.

Expand the editor window, shrink the macro settings


Select existing pages

How it works: Search for and select existing Confluence pages. Then, tabs displaying their content will automatically be generated.

image-20240625-130138.png

How to use this macro

  1. Insert the Tab Wizard macro on a page.

  2. Tap “Select existing pages” in the Tab Wizard.

  3. In the field “Pages”, type in the name of a specific page.

  4. Repeat for any other page you want to display as a tab.

  5. Drag & drop page names to choose the order of the tabs.

  6. Adapt the general settings (see options below).
    Use the preview to check if everything looks as expected.

  7. Tap “Save” and publish the page.

Result: The content of the selected pages is displayed as tabs on the page.

General settings of this macro

  • Tab Layout: Toggle “Use new layout” (Beta) to allow advanced features - see Tab Content Layout (Beta)

  • Tab Design: Choose a specific tab design - see Tab Design Customization for details.

  • To display the tabs vertically, activate the toggle "Display the tabs vertically". By default, tabs are oriented horizontally. If you use vertical tabs, you can customize the tab width (the default is 150 pixels).

  • To truncate tab names, enter the number of characters that will be removed (starting from the beginning of the tab names). This makes sense in long page titles to save space. By default, the entire title appears.

  • To change the tabs' height, set a new value (in pixels) in the "Tab Content Height" field. The default height is 750 pixels. You may have to change the height manually for long content.

image-20240625-125940.png


Define a parent page

This used to be done with the Childtabs macro. It is now integrated into the Tab Wizard.

How it works: Define the parent page. This will automatically generate tabs displaying the children's content.

image-20240625-130804.png

How to use this macro

  1. Insert the Tab Wizard macro on a page.

  2. Select “Define a parent page” in the Tab Wizard.

  3. In the field “Root,” enter a specific parent page. Leave the field blank to use the current page.

  4. Adapt the general settings (see options below).
    Use the preview to check if everything looks as expected.

  5. Tap “Save” and publish the page.

Result: The children of the selected parent with all their content are displayed as tabs on the page.

General settings of this macro

Root Page

  • Select the page from which the navigation will be created. The default value is the Current Page.

Tab Content Layout

Tab Design

Tab Configuration

  • Display tabs vertically: By default, tabs are oriented horizontally. This toggle allows them to display vertically instead

    • Width of vertical tabs: Allows you to customize the width of titles when using Vertical tabs (the default is 150 pixels).

  • NEW Max number of tabs: Select the number of tabs to be rendered from 1 to 50. The default value is 20.

  • NEW Sort tabs by: You can sort the resulting tab navigation between:

    • Alphabet (A-Z) default

    • Creation date (new to old)

    • Modification date (new to old)

    • Page Tree (This is the default order. When selected, this value will replicate the page tree from the page designated as root).

  • Reverse the tab sort order: This will invert the currently assigned sorting.

  • Number of characters to truncate: To truncate tab names, enter the number of characters to be removed (starting from the beginning of the tab names). This makes sense in long page titles to save space. By default, the entire title appears.

Tab content height

  • To change the tabs' height, set a new value (in pixels) in the "Tab Content Height" field. The default height is 750 pixels. You may have to change the height manually for long content.

image-20240625-131231.png


Define labels

This used to be done with the Labeltabs macro.

How it works: Define one or various labels. This will automatically generate tabs of pages containing the label(s) and display their content.

image-20240625-133513.png

How to use this macro

  1. Insert the Tab Wizard macro on a page.

  2. Select “Define labels” in the Tab Wizard.

  3. In the field “Labels”, insert the label(s) that the pages should contain.

  4. Optional: Use a CQL query to narrow down the results. For example, you can filter for the space “Spacename” using this query:

    CODE
    space = "Spacename"
  5. Optional: Adapt the general settings (see options below).
    Use the preview to check if everything looks as expected.

  6. Tap “Save” and publish the page.

Result: The pages containing the label(s) with all their content are displayed as tabs on the page.

Tabs with page content with a specific label


General settings of this macro

Labels

  • You can input one or multiple labels separated by a comma. All pages matching these labels will be displayed as a tab.

Filter

  • You can customize the condition to create these tabs based on a CQL Query.

Tab Layout

Tab Design

Tab Configuration

  • To display the tabs vertically, activate the toggle "Display the tabs vertically.” By default, tabs are oriented horizontally.

    • Using vertical tabs, you can customize the tab width (the default is 150 pixels).

  • NEW Max number of tabs: Select the number of tabs to be rendered from 1 to 50. The default value is 20.

  • NEW Sort tabs by: You can sort the resulting tab navigation between:

    • Alphabet (A-Z) default

    • Creation date (new to old)

    • Modification date (new to old)

  • To reverse the tab order, activate the toggle “Reverse the tab sort order.”

  • To truncate tab names, enter the number of characters that will be removed (starting from the beginning of the tab names). This makes sense in long page titles to save space. By default, the entire title appears.

Tab Content Height

  • To change the tabs' height, set a new value (in pixels) in the "Tab Content Height" field. The default height is 750 pixels. You may have to change the height manually for long content.

image-20240625-134522.png


Create your own tabs

This used to be done with the Tabs Editor but has been extended with the Tab Wizard.

How it works: Create tab content individually or mix individual tab content with existing Confluence pages. Options include:

  • Your content: Use the editor to create content from scratch

  • Embed or HTML Code

  • iFrame

  • existing Confluence pages

image-20240625-142527.png

How to use this macro

  1. Insert the Tab Wizard macro on a page.

  2. Select “Create your own tabs” in the Tab Wizard.

  3. In “Tabs & Tab Names,” write a name for your tab. Hit “Enter” or tap the + icon to add the tab.

  4. Repeat for any number of custom tabs.

  5. Drag & drop tab names to choose the order of the tabs.

  6. On the right side of the macro, select the type of content you want to add in the drop-down (details see below).

  7. Adapt the general settings (see options below).

  8. Tap “Save” and publish the page.

General settings of this macro

The following settings are identical for the macro options “Your content,” “Embed,” “iFrame,” and “Confluence page.”

Tabs & Tabs Names

  • Create your tab by adding a name and clicking the plus icon. Tabs can be drag-and-dropped and further customized with a tab icon.

Tab Content Layout

Tab Design

Tab Configuration

  • To display the tabs vertically, activate the toggle "Display the tabs vertically." By default, tabs are oriented horizontally.

    • Using vertical tabs, you can customize the tab width (the default is 150 pixels).

Tab Content Height

  • You can change the tab’s height by inputting a new value (in pixels). The default height is 750 pixels.

    • You may have to change the height manually for long content.

    • (info) For “Your content,” there is no need to adapt the tab height. The tab height will be adapted automatically according to the amount of content inserted.

image-20240625-143108.png


Macro option: Your content

You can enter your own tab content (text, images, status, panels, etc.) the way you are used to in the Confluence Cloud editor. This content will be displayed within the tab you created and labeled before.

image-20240625-144420.png

How to use this option

  1. Choose “Your content” in the drop-down menu.

  2. Enter your text and other content (options see below) in the editor input field.
    (tick) Tip: You can expand the editor to span the entire screen width. You can also shrink the macro settings on the left side.

  3. Tap “Save” once you are done.

“Your content” with built-in editor

Options in the built-in editor:

Click to see the full list
  • Heading selection (Normal text, Heading 1, Heading 2, etc.)

  • Bold

  • Italic

  • … option with Underline, Strikethrough, Code, Subscript, Superscript, Clear formatting

  • Text orientation

  • Text Color

  • Bullet point

  • Numbered list

  • Link

  • Table

  • Code Snippet

  • Info Panel

  • Quote

  • Divider

  • Date

  • Status

  • Image Upload

This editor is useful for simple content.

  • If you want to create tabs containing Confluence macros like Child Display, Jira, Page Properties Reports etc., please use the Tab Group and Tab Macro instead.

  • If you want to embed content or use an iFrame, use the options below instead of “your content.”


Embed or HTML Code

You can use an embed or HTML code as a tab.

  1. Choose “Embed or HTML Code” in the drop-down menu.

  2. Paste the code in the field below.

  3. Use the “Preview” toggle to check whether the content looks as intended.

  4. Tap “Save” once you are done.

iFrame

You can include an iFrame as a tab. This allows you to embed external content on your Confluence page.

(info) An iFrame is an HTML element that embeds another HTML document within a page. The iFrame has its own scrollbars, borders, and content. Note: Not all websites allow their content to be embedded in an iFrame. If the content you want to embed is protected or restricted, the iFrame may not work.

  1. Choose “iFrame” in the drop-down menu.

  2. Paste the target URL.
    By tapping the dots :more-dots: , you can specify the width and height of the iFrame in pixels or as a percentage of the parent container.

  3. Tap “Save” once you are done.

iFrame with preview in Tab Wizard editor

Confluence Page

Use this option if you want to mix existing Confluence content with individual page content in one macro. If you need a tab navigation made up of only Confluence pages, use one of the other options in the Tab Wizard ⤴️.

You can select an existing Confluence page.

  1. Choose “Confluence page” in the drop-down menu and search for the page name.
    The preview of the Confluence page will appear in the editor. ⚠️ You cannot edit its content here.

  2. Use other options in the drop-down for the other tabs in your navigation.

  3. Tap “Save” once you are done.


Related content

⤴️ Back to the top

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.