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

nincs szerkesztési összefoglaló
local templateParams = {}
 
local userBoxBorderColor = args.userBoxBorderColornil
local userBoxIdColor = nil
local userBoxBackgroundColor = nil
if (not args.userBoxIdColor == nil) and (not args.userBoxIdColor == "") then
ret = ret .. "idbkcolor defined\n\n"
userBoxIdColor = args.userBoxIdColor
end
if (not args.userBoxBackgroundColor == nil) and (not args.userBoxBackgroundColor == "") then
ret = ret .. "bkbkcolor defined\n\n"
userBoxBackgroundColor = args.userBoxBackgroundColor
end
if (not args.userBoxBorderColor == nil) and (not args.userBoxBorderColor == nil) then
ret = ret .. "borderbkcolor defined\n\n"
userBoxBorderColor = args.userBoxBorderColor
end
if userBoxBackgroundColor == nil then
userBoxBackgroundColor = "#E8E8E8"
end
if userBoxBorderColor == nil then
userBoxBorderColor = "#B7B7B7"
end