Template talk:Infobox location

Collapsible Images
I worked out how to make image2 collapsible (check the revisions), but, many locations only have a gazeteer image, so nothing is shown.

Ideally, we'd only add the collapsible link if there are two images, but I'm struggling with the "if" syntax. IF anyone else wants to take a pass, I'd be eternally grateful.SporksAreGoodForYou (talk) 11:47, 7 November 2016 (UTC)
 * What is the exact problem with the IF syntax? I know it can get wonky, so if I can help... Tagaziel (talk) 13:58, 7 November 2016 (UTC)


 * I didn't immediately see a way to have 2 statements. If it could work like this, that would be great:


 * if Image && !image2: show image
 * if image && image2: show both, make image2 collapsible.
 * if !image1 && image2: show image2.

I didn't see how to create && statements in the if. SporksAreGoodForYou (talk) 15:36, 7 November 2016 (UTC)