Board Thread:Support Requests - Getting Technical/@comment-25390652-20170112182956

I have an infobox. This is the code it uses right now.  I'm searching for ways to make "BorderColor" have a default value equial to "BGColor".

So this template:

would have both blue background and border, and this template:

would have green border and blue background.

Is it possible to do without changing JS (by changing the template only)? In a non-portable infoboxe it would look similar to this:

PS: We have the code that uses theme-source attribute value for border already if you were curious. 