Forum:Infobox question

I have a question about Infoboxes.

I'm editing one of my templates. I feed it several parameters, one of which is called "award". I would like my template to display a Header and some data if "award" is not blank. If "award" is blank, then I would like both the header and the data section after it to not be displayed at all.

Example:

Is this something that is even possible? I've been wracking my brain with conditional statements, and I can't seem to make any sense of it.

DocTrain (talk) 16:25, July 19, 2012 (UTC)


 * Kinda depends on your base Infobox template (or the template itself if it's not based on another infobx). You'll need to use an  somewhere. It needs to be wrapped around everything you need to hide. You'll likely need to escape the pipes (the | character) with template ! to avoid conflicts with the #if. If you give a link, I'm sure someone will help making the changes. - Tjcool007 (Talk) 17:46, July 19, 2012 (UTC)