{{#if:{{{A|}}}{{{B|}}}|Do this!}} The "AND" logic, if A and B: {{#if:{{{A|}}}|{{#if:{{{B|}}}|Do this!}}}}