Template Editor Doesn't Support All Macros

I'm running 4.2.11

My template editor only takes wiki markup. It's a simple two text field, one text area set up. It does not look like the template editor shown here: https://confluence.atlassian.com/display/DOC/Adding+a+Template#AddingaTemplate-content

My real issue is I'd like to include the navitabs macro (not from Atlassian, true, but also just a macro) in a template, but have not figured out a way to make that happen with the template editor as it is on my installation. The template editor appears to only take wiki markup, and I haven't figured out what the navitabs wiki markup is, if it exists. {localtab}, {localtab group} and variations thereof (plurals, spacing, capitalization) don't seem to work.

Do I need to upgrade to a newer version to get full macro support? If so, what version?

3 answers

May be you can try inserting the XHTML code in your template. For example this wikimarkup:


Converts to:

<ac:macro ac:name="macroname"><ac:parameter ac:name="parameter1">value1</ac:parameter><ac:parameter ac:name="parameter2">value2</ac:parameter></ac:macro>

That's probably a pretty good technique, but I haven't had much luck figuring out what the wikimarkup for navitab's localtab is supposed to be. Rummaging around their site, it appears that the localtab macro doesn't support wikimarkup, which makes it a little hard to use with the current template editor.

Is there a way to extract the xhtml from a confluence page, like an export or something?

Here's my "localtabs don't work with the current template editor" source: https://studio.plugins.atlassian.com/browse/NAVITABS-14

1 vote

For this particular issue the Navitabs plugin was causing problems with our template editor: https://studio.plugins.atlassian.com/browse/NAVITABS-14

This is resolved in Confluence 4.3, due for release early September.

Try this converter:


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,804 views 26 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you