Infobox/Mod – Template talk

From Bohemia Interactive Community
Revision as of 08:24, 21 July 2006 by Str (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.