Content deleted Content added
No edit summary |
let's try this again |
||
Line 6:
function p.headerStyle(frame)
local args = getArgs(frame)
local deleted = args.decommissioned or args.deleted
if deleted then
return "background:#
end
local uc = args["under construction"] or args.const or args.uc
if uc then
return "background:#fc6;"
end
local hist = args.hist or args.historic or args.historical or args.scenic
if hist then
return "background:#704214; color:#fff;"
end
local colors = require"Module:Infobox road/color/sandbox"
▲ else return colors.header(frame)
end
|