Module:Infobox road/sandbox: Difference between revisions

Content deleted Content added
let's try this again
adj
Line 7:
local args = getArgs(frame)
local deleted = args.decommissioned or args.deleted
local uc = args["under construction"] or args.const or args.uc
local hist = args.hist or args.historic or args.historical or args.scenic
local colors = require"Module:Infobox road/color/sandbox"
if deleted then
return "background:#bbb;"
ifelseif uc then
end
local uc = args["under construction"] or args.const or args.uc
if uc then
return "background:#fc6;"
ifelseif hist then
end
local hist = args.hist or args.historic or args.historical or args.scenic
if hist then
return "background:#704214; color:#fff;"
else return colors.color(frame)
end
local colors = require"Module:Infobox road/color/sandbox"
return colors.color(frame)
end