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:

{macroname:parameter1=value1|parameter2=value2}

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:

Wikify

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

467 views 19 9
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