In this page, I want to make it so when a certain image is displayed in the infobox (or when the corresponding gallery tabber is clicked), its header color changes. It should be either something like this,
{{#if: {{{image|UtakataScreenshot.jpg}}}|#344B36|#9B6C38}}
or like this.
{{#if: <tabber>
|-|Chapters 1-7=
</tabber>
|#344B36|#9B6C38}}
I'm not a coding expert by any means, but I'm sure most of it makes sense: if the first image is selected, the header color is dark green, if not, it's brown. There's just one problem: how do I make the code recognize the selected image or tabber as a condition? I'm not going to do this with the infobox template itself, it's not like there are significative changes in every location during the game.