„Modul:ServiceAward” változatai közötti eltérés

nincs szerkesztési összefoglaló
 
local userBoxBorderColor = args.userBoxBorderColor
local userBoxIdColor = args.userBoxIdColor""
local userBoxBackgroundColor = args.userBoxBackgroundColor""
local userBoxTextColor = args.userBoxTextColor
if userBoxTextColor == nil then
userBoxBackgroundColor = currentRank[RANKS_BACKGROUND_COLOR_INDEX]
end
end
if not args.userBoxIdColor == nil and not args.userBoxIdColor == "" then
userBoxIdColor = args.userBoxIdColor
end
if not args.userBoxBackgroundColor == nil and not args.userBoxBackgroundColor == "" then
userBoxBackgroundColor = args.userBoxBackgroundColor
end
if userBoxIdColor == nil then
userBoxIdColor = "#efefefB7B7B7"
end
if userBoxBackgroundColor == nil then
userBoxBackgroundColor = "#f0f0f0E8E8E8"
end