<p>I have an infobox. This is the code it uses right now.
</p>
<infobox accent-color-source="BGColor" theme-source="BorderColor">
<p>I'm searching for ways to make "BorderColor" have a default value equial to "BGColor".
</p><p>So this template:
</p>
{{Templatename
|BGColor = blue
}}
<p>would have both blue background and border, and this template:
</p>
{{Templatename
|BGColor = blue
|BorderColor = green
}}
<p>would have green border and blue background.
</p><p>Is it possible to do without changing JS (by changing the template only)? <font color="grey">In a non-portable infobox it would look similar to this: {{{BorderColor|{{{BGColor}}}}}}</font>
</p><p>PS:
We have the code that uses theme-source attribute value for border already if you were curious.
</p>