Year of the Dragon: Through June 26th, claim free Ground Bound Green Dragon Mount! Speak to Xatheral in the Hall of Heroes.
(April's reward of a free expansion or Greater Elixir of Discovery can still be claimed from Trilliya until June 4th.) edit

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to remove ads, build a reputation, and unlock more editing privileges and then visit DDO wiki's IRC Chat/Discord if you need any help!

Template talk:IE

From DDO wiki
Jump to navigation Jump to search

Is there a more elegant way to change the background for certain cells? I want to change the background for some cells from column 3, sometimes to color A and sometimes to color B. I've set the default background color to white in the template and I'm defining the 2 colors in the tables whenever I want to use them but I have the feeling that there is a better way to do this.

Example with placeholder colors:

Enchantment Effect Item Item type ML Obtained from
Stability Standard Ring of Balance Ring 11 Invasion Tokens (TI)
Greater Antithesis Armor (Robe) 10 Inferno of the Damned
Nature's Vengeance W (Quarterstaff) 16 Reign of Madness (C)
Superior Light and Darkness Shield 18 The Mindsunder
Light and Darkness (upgraded) Shield 18 Dreamforge (Cr)