Content deleted Content added
ope |
synch |
||
Line 23:
-- HEADER COLORS
function p.
local args = getArgs(frame)
local deleted = args.decommissioned or args.deleted▼
local header
local uc = args.header_type == "under construction" or args.header_type == "const" or args.header_type == "uc"▼
header = args.header_type
local hist = args.header_type == "hist" or args.header_type == "historic" or args.header_type == "historical" or args.header_type == "scenic"▼
else
header = string.lower(args.header_type)
end
▲ local deleted = args.decommissioned or args.deleted or header == "former"
▲ local uc =
local minor = header == "minor"
▲ local hist =
local color = parser(args, 'color')
local freeway = header == "freeway"
if
return "header-MUTCDblue"
elseif uc then
return "header-uc"
elseif minor then
|