Is it possible to insert a gallery within a table, enabling the whole gallery to collapse/expand? If not, is there another text I can use to create this function or no?
Yes, but a table doesn't sound related here, so I think it's a better idea to put it in a collapsible div:
<div class="mw-collapsible"> <gallery> . . . </gallery> </div>
Exactly what I needed, thanks!
What do you think?