Template:Infobox country/imagetable

{{#if:{{both|{{{image1a|}}}{{{image1b|}}}|{{{image2|}}}}}| {{#if:{{{image1a|}}}| {{{image1a|}}} }}{{#if:{{{image1b|}}}| {{{image1b|}}} }} {{{caption1|}}} {{{image2|}}} {{{caption2|}}} {{#if:{{{image1a|}}}{{{image1b|}}}| {{#if:{{{image1a|}}}| {{{image1a|}}} }}{{#if:{{{image1b|}}}| {{{image1b|}}} }} {{{caption1}}} }}   {{#if:{{{image2|}}}| {{{image2|}}} {{{caption2}}} }}