Thread:Ultrasonic9000/@comment-24014422-20180827190626/@comment-24014422-20180830100534

Ok, I had opted for the switch method Veralann suggested, and it gave this result.

Based on the input you give to the "background" variable, it gives color for the row.

The input can be: While the default background color that works if you don't give the variable an input, is set to the same color as the character (main) infobox's.
 * golden
 * limeGreen
 * brown
 * orange
 * blue
 * turquoise
 * MSBlue
 * RosyBrown
 * MCarmine
 * item

What do you think guys? If this is alright with you, all we will need then is to determine the selected tab from the rest through JS. And a run through every article that uses the tab template and gives it a background color that corresponds with its infobox.