Template Editor Doesn't Support All Macros

Gunnar Gissel August 16, 2012

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

2 votes
Alejandro Conde Carrillo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 16, 2012

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>

Gunnar Gissel August 17, 2012

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
Michael S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2012

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.

0 votes
Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2012

Try this converter:

Wikify

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events