Forum:I want a part of the Infobox to only appear when it's filled in

I wanna add a new header to my current Battle infobox, a header called 'sub-officers', however the sub-officers are not always known so I only want it to appear when it's filled in. How can I do this? Something with onlyinclude perhaps? --Zantam03 11:52, April 30, 2010 (UTC)

EDIT: ehm.. no, that's definately not it... -- Zantam03 11:59, April 30, 2010 (UTC)


 * The best thing to use is a parser function. Like: .  Mark  ( talk ) 12:08, April 30, 2010 (UTC)
 * Thanks, I managed to include it, but it doesn't make the header go away though! How can remove the header? --Zantam03 12:17, April 30, 2010 (UTC)
 * Allright, I've fixed it for you. Keep up the editing :)! Mark  ( talk ) 12:22, April 30, 2010 (UTC)
 * Thanks, but it's not really working, have a look at this article. I added the sub-officer 'Lü Jie' to the right column (there are none I can add to the left column), which made the infobox look like it looks now. --Zantam03 12:27, April 30, 2010 (UTC)