Board Thread:Support Requests - Getting Technical/@comment-5558012-20140722142450

I have a switch template embedded into an infobox template. With the switch template itself I can use

in which a default image is added for the second option. However, in the infobox template I am using two ifs for the images

The only problem with the above is that the default, File:No Image Available Logo.jpg, which is defined already in the Switch template. I would rather not define them again in the infobox. The problem with removing them leaves an extra pipebar (the one right after "Art" depending on which image is missing) that must be removed for the defaults to appear.

If both don't exist:

Which needs to appear as:

I can't add a | or ! in front of the files in the if statements. Is there another way?  