Board Thread:Support Requests - Getting Technical/@comment-26400668-20190708093820

I'm am working on making a template that displays as a little square. It is to act as a swatch. It works outside of an infobox, but when used in an infobox, it breaks down. How do I get it to work within an infobox? This is a problem I have with most templates and haven't really understood how to fix that.

This is the problem template.

Any help is appreciated! 