Board Thread:Support Requests - Designing Your Wiki/@comment-10057802-20130602175805

I'm busy making a new infobox template, I'm trying to get the header to choose a predefined colour depending on what you write. It would be better if I could only have a couple of set choices to choose from thats already coloured. In just cant get it right, here is what i've got so far:

! class="wikia-infobox-header" colspan="2" | |

Result: This is the code that worked in the end, with thanks to Mbg2

! class="wikia-infobox-section-header" colspan="2" style=""|  