Template:TD

{{{#if:{{{1 | }}}|{{#if:{{{2 | }}}|{{{1}}} {{!}} {{{2}}}|{{{1}}}}}| }}

Usage
Template:TD produces a table data cell to be used in conjunction with. To include both formatting and data, use them as separate arguments in that order.

Example: