Scrubby Dubby Saga Wikia
Explore
Main Page
Discuss
All Pages
Community
Interactive Maps
Recent Blog Posts
Wiki Content
Level types
Collection levels
Free your friends levels
Foam levels
Pearl levels
Elements
Bottle
Soap Star
Quests
Characters
Dixie
Dubby
Marcel
Scrubby
Wallowing Hippo
Episode list
1-200
1-20
21-40
41-60
61-80
81-100
101-120
121-140
141-160
161-180
181-200
201-400
201-220
221-240
241-260
261-280
281-300
301-320
321-340
341-360
361-380
381-400
401-560
401-420
421-440
441-460
461-480
481-500
501-520
521-540
541-560
Community
Discord Chat
Wiki Chat
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Scrubby Dubby Saga Wikia
847
pages
Explore
Main Page
Discuss
All Pages
Community
Interactive Maps
Recent Blog Posts
Wiki Content
Level types
Collection levels
Free your friends levels
Foam levels
Pearl levels
Elements
Bottle
Soap Star
Quests
Characters
Dixie
Dubby
Marcel
Scrubby
Wallowing Hippo
Episode list
1-200
1-20
21-40
41-60
61-80
81-100
101-120
121-140
141-160
161-180
181-200
201-400
201-220
221-240
241-260
261-280
281-300
301-320
321-340
341-360
361-380
381-400
401-560
401-420
421-440
441-460
461-480
481-500
501-520
521-540
541-560
Community
Discord Chat
Wiki Chat
Editing
Module:DifficultyColor
Back to page
Edit source
View history
Talk (0)
Edit Page
Module:DifficultyColor
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
-- Coded by [[User:Catinthedark]] in Candy Crush Saga Wiki local p = {} local color = { ["None"] = {'#000000', '#FFFFFF'}, ["Very Easy"] = {'#000000', '#00FFFF'}, ["Easy"] = {'#FFFFFF', '#008080'}, ["Somewhat Easy"] = {'#FFFFFF', '#00A000'}, ["Medium"] = {'#000000', '#FFC800'}, ["Somewhat Hard"] = {'#000000', '#FF8800'}, ["Hard"] = {'#FFFFFF', '#E80000'}, ["Very Hard"] = {'#FFFFFF', '#800000'}, ["Extremely Hard"] = {'#FFFFFF', '#000000'}, ["Nearly Impossible"] = {'#FFFFFF', '#000080'}, ["Impossible"] = {'#FFFFFF', '#606060'}, ["Variable"] = {'#FFFFFF', '#9000A8'} } local function _getColor( difficulty, forecolor ) local i = 2 local myColor = '' if forecolor then i = 1 end myColor = color[difficulty] if myColor then return myColor[i] else return '' end end function p.getColor( frame ) local a = frame.args local difficulty = a[1] -- mixed case difficulty, eg. "Very Hard" local forecolor = a[2] and not (a[2] == '') -- if second param present, get forecolor, else backcolor return _getColor(difficulty, forecolor) end return p
Summary:
Please note that all contributions to the Scrubby Dubby Saga Wikia are considered to be released under the CC-BY-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab