Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,738
Community Members
 
Community Events
165
Community Groups

How do you make an expand macro stay collapsed in a template?

I have created a template with 3 expand macros for the 3 sections I want to present. Not all users will need all sections. I want them to expand and complete only the section they need.

I have a Create from Template macro on the home page. When a user clicks on it, the page is created but all the sections are expanded out.

Is it possible to have the page created from a template with the sections collapsed?

Thank you.

1 answer

1 accepted

0 votes
Answer accepted

When a page is created from a template, the macros on the template will be automatically show as they would if you manually added them on a new page. 

When a page is in edit mode, the expand macro is always expanded or open.  You can only toggle when the page is in view mode.

I hope this makes sense!  

Thank you, it does make sense. I was hoping there was something that would allow me to override it. Thanks again.

Like Don Hamp likes this

I agree with Mary that there should be parameter on Expand macro that when page is in Edit mode all the expands  default to collapsed state.     Also the expand macro is alittle bit blocky/fat... if you have many of them on a page  (for example a table with expands in each row of  a table) the boarder and heading  take up alot of room.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

817 views 8 22
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you