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 mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
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:XpcolorsNP
Code unfolded
The code consists of 10 nearly identical blocks (one for each difficulty parameter). The code parts using "XPCflag" enforce that multiple numbers are spearated by a space but no spaces appear before the first and after the last number
{{#vardefine: XPCflag|}} {{#ifeq: {{{solo|+}}}|{{{solo|-}}} | {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{solo}}}|blue|♣|}} }} }} {{#ifeq: {{{casual|+}}}|{{{casual|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{casual}}}|blue|♣|}} }} }} {{#ifeq: {{{normal|+}}}|{{{normal|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{normal}}}|green|♦|}} }} }} {{#ifeq: {{{hard|+}}}|{{{hard|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{hard}}}|#FF8c00|♥|}} }} }} {{#ifeq: {{{elite|+}}}|{{{elite|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{elite}}}|red|♠|}} }} }} {{#ifeq: {{{epic|+}}}|{{{epic|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{epic}}}|#FF33FF||epic}} }} }} {{#ifeq: {{{ecasual|+}}}|{{{ecasual|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{ecasual}}}|blue|♣|epic}} }} }} {{#ifeq: {{{enormal|+}}}|{{{enormal|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{enormal}}}|green|♦|epic}} }} }} {{#ifeq: {{{ehard|+}}}|{{{ehard|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{ehard}}}|#FF8c00|♥|epic}} }} }} {{#ifeq: {{{eelite|+}}}|{{{eelite|-}}} | {{#if: {{#var: XPCflag}}| |}} {{#vardefineecho: XPCflag|{{Xpcolors/subst|{{{eelite}}}|red|♠|epic}} }} }}