Navigation Map Macro
The Navigation Map macro displays a navigable map of the pages tagged with a given label.
Using the Navigation Map Macro
To add the Navigation Map macro to a page:
- In the Confluence editor, choose Insert > Other Macros
- Find and select the required macro
Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Autocomplete for links, files, macros and mentions.
To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
Parameters
Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example
).
Parameter | Default | Description |
---|---|---|
Label | none | Specify the label associated with the pages you want to show in the navigation map. This parameter is unnamed in storage format and wikimarkup. |
Map Title | none | Specify a title for the navigation map. |
Number of Cells Per Row
| 5 | Specify the number of cells in a row |
Cell Width (Pixels) | 90 | Specify the cell width (enter a number only, don't include |
Cell Height (Pixels) | 60 | Specify the cell height (enter a number only, don't include |
Navigation Map Theme | Confluence | Define a theme for the navmap (Server only). If you want to create your own navmap 'look and feel' (for example, one with rounded corners), you need to add a customized navmap macro theme file to the |
Code examples
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro name: navmap
Macro body: None.
Storage format example
<ac:structured-macro ac:name="navmap">
<ac:parameter ac:name="wrapAfter">4</ac:parameter>
<ac:parameter ac:name="title">My map name</ac:parameter>
<ac:parameter ac:name="cellHeight">50px</ac:parameter>
<ac:parameter ac:name="theme">navmap-mytheme.vm</ac:parameter>
<ac:parameter ac:name="cellWidth">80px</ac:parameter>
<ac:parameter ac:name="">mylabel</ac:parameter>
</ac:structured-macro>
Wiki markup example
{navmap:mylabel|wrapAfter=4|title=My map name|cellHeight=50px|theme=navmap-mytheme.vm|cellWidth=80px}