Board Thread:Support Requests - Getting Technical/@comment-4839682-20150402164437

My basic question is how to adapt/write an #if to hide not only a parameter, but also a section header (and its styling) from an infobox if the parameter is not present. (I can make a parameter disappear with an #if, but it doesn't seem to translate to non-parameter styling)

What I'm trying to accomplish can be seen here: I would like the "relevant pages" header to only appear when the "gallery = yes" parameter appears.

I know I've seen such a thing done somewhere, I just can't remember where and my searching has been fruitless XD I'm hoping someone out there can point me in the right direction. 