Icon in user macro Confluence 5.4

Hi everybody,

I have a question and I hope you can help me. I have written my own macro. It is like an Info-Macro, but it should be a little bit different and it should include another icon. My question is, how can I include this icon into my macro? https://srv-kastor-14.psad.de/confluence/download/attachments/352387585/aufrufezeichen.pngIt should stay before a title.

Hier is my code:

<ac:macro ac:name="panel">
<ac:parameter ac:name="borderStyle">solid</ac:parameter>
<ac:parameter ac:name="borderColor">#02236a</ac:parameter>
<ac:parameter ac:name="borderWidth">2</ac:parameter>
<span style ="color:#02236a"><b>$!paramTitle</b></span>
<span style ="color:#02236a">$body</span>

Hier is an Example, how it should look like:

I hope you can help me.

Thank U,

Best regards,


1 answer

1 accepted

This widget could not be displayed.

Hi Zoriana,

It would probably look something like this:

&lt;ac:macro ac:name="panel"&gt;
&lt;ac:parameter ac:name="borderStyle"&gt;solid&lt;/ac:parameter&gt;
&lt;ac:parameter ac:name="borderColor"&gt;#02236a&lt;/ac:parameter&gt;
&lt;ac:parameter ac:name="borderWidth"&gt;2&lt;/ac:parameter&gt;
&lt;img src="https://srv-kastor-14.psad.de/confluence/download/attachments/352387585/aufrufezeichen.png"&gt;
&lt;span style ="color:#02236a"&gt;&lt;b&gt;$!paramTitle&lt;/b&gt;&lt;/span&gt;
&lt;span style ="color:#02236a"&gt;$body&lt;/span&gt;

Let me know if it works.


Hi, thank U very much. It works. It was so simple.

Hi Stephen, I have another question:

I use hier a Panel-Macro and while converting the page with this macro to pdf it looks like a panel and my formatting (in my macro) will not be applied (in pdf). I wanted to adopt my macro in content formatting in template, but I don't know how should it be done. I have already tried a lot of variants but it does not work.


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

551 views 25 15
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