Forum:Infobox rows invisible if there is no content

How can you make a row of an infobox disappear if the row has no content? For example, (see this page) Somebody entered a bunch of info into the infobox, but left the "Opened" row empty. How can you make that row disappear (other than just deleting the row, of course)? Here is the infobox template page

Dolphanatic  talk   contributions  04:08, March 25, 2011 (UTC)

Use ifs. See here for an example.--


 * The basic syntax for an if is . Note that it's "if string is present", not "if this is true". It won't evaluate a mathematical or boolean expression, eg.   and   will both yield true because both of them are strings. You have to use   to evaluate math or booleans.