Template:If both

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