Board Thread:Support Requests - Getting Technical/@comment-25916964-20150829122556

I've started working to get the infoboxes on Destiny Wiki moved to the new portableinfobox system, but I've run into some problems.

I'm trying to make it such that the background color of the title field changes depending on the value of the rarity field.

I've tried using the recommended way, which is the "theme-source" tag, and css, but have had no luck. Through the F12 developer tools I've also discovered that the css style link is not being generated, which explains why the style is not being applied. I've also tried using a switch statement to set the background-color style, with no luck.

Another thing I've been having difficulty with is finding a way to make headings hide if certain fields have no data, and therefore don't appear.

w:c:Molten:Template:Infobox/Weapon - Current Version w:c:Molten:Template:Infobox/Weapon/Draft - Migrated Version  