Forum:How can I stop data fields in an info box appearing if there is no data?

I found out how to do this before but can't find the thread now, sorry... how can I stop empty slots appearing in info boxes when data isn't entered? (eg. if a show doesn't have an 'end date' and that part of the template is left blank, the resulting info box has Date: followed by a blank space) Ideally data lines would automatically not appear if the information isn't inserted. It's happening on tommywestphall.wikia.com and it looks really ugly... can anyone help me fix this? Thanks! --Mister Six 10:29, September 2, 2011 (UTC)


 * Something like this will do it: . Look into the #if parserfunction for more info. - Tjcool007 (Talk) 10:33, September 2, 2011 (UTC)


 * Thank you, but where do I put this code? This stuff is a ways beyond what I am capable of at the minute, I think. Ta! --Mister Six 03:13, September 5, 2011 (UTC)


 * Then tells us the page where you need it and someone will put it there for you to see how it's done.
 * 11:38, September 5, 2011 (UTC)


 * You could pop it in here for now: http://tommywestphall.wikia.com/wiki/Doctor_Who (or, if it goes in the template: http://tommywestphall.wikia.com/wiki/Template:Shows). I recall that before it was a single change that affected functionality across the wiki so I'm assuming it was a template change. Thanks! --Mister Six 06:54, September 6, 2011 (UTC)