Infobox/Mod – Template talk

From Bohemia Interactive Community
Revision as of 10:26, 21 July 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search

Please can someone help me with structured infobox, when are shown only parameters which are filled out? For example - if someone skip field coder, the whole line will not be displayed. I've tried to use #if , but without result:

{{#if:{{{coder|}}}|<tr><th style="background-color: #ccccff;">Coder(s)</th><td>{{{coder|}}}</td></tr>}}

It's better to have only one template then create another ones with different parameters. If you find the way, feel free to edit this one.

Yep, I'd also like to see an all in one template, but I have no idea how to do it. That's why I made a new one, we can delete it as soon as we have this working. --raedor 11:26, 21 July 2006 (CEST)