A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

Sizing sections to fit thumbnails

abeason

Is there a method to make sections at least as big as the thumbnails contained within them?

We’re running into an issue where we have several short sections with a thumbnail apiece, but the thumbnails all end up stacked on the right side of their page rather than contained within their section.

Ideally we’d like to have collapsible sections and have all of the elements defined in a section stay within that section, even if it creates extra white space.!

How it looks rendered:

How we’d like it to look:

Thanks!

qgil

Does this help? https://www.mediawiki.org/wiki/Help:Images#Stopping_the_text_flow

abeason

It does, thanks!

Now, if only VE could do this…

Tgr

Usually people use something like {{-}}.