Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes. edit

Thank you for your patience while we continue to upgrade DDOwiki to the latest MediaWiki LTS version. If you find any errors on the site, please visit the Discord chat server and let us know.

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)