Hello, I need help to create a template for my Wiki! I've been brainstorming for an hour and I can't seem to get it right ahah.
Basically, I'd like to present the contents of an unlockable box in a game, and to do this I've been thinking of a template that displays the image of the box, and when you click on it, reveals its contents, either replacing the image of the box (not sure that's possible), or in the form of a collapsible appearing underneath (it can be from 1 to 4 items, I had the idea of displaying them in the form of a gallery, so there's the image and it links to the corresponding item page).
For this, I thought of Collapsing Toggle Buttons, but for one thing I can't hide them (I'd like the Toggle Button to BECOME the image of the box, but if that's not possible, then it can be below the image, like with “Reveal contents” written on it).
But the problem with using these buttons is that I'd like the content to be hidden when you arrive on the page, and revealed when you click on it. But the buttons do the opposite: the content is already revealed and you have to click to hide it.
So that's where I'm at, if you have any ideas on how I can make this work, I'd be very grateful. Thanks in advance for the answers!