Module:Infobox road/sandbox: Difference between revisions

Content deleted Content added
try this
No edit summary
Line 10:
local uc = args.header_type == "under construction" or args.header_type == "const" or args.header_type == "uc"
local hist = args.header_type == "hist" or args.header_type == "historic" or args.header_type == "historical" or args.header_type == "scenic"
local function emptyParam(param)
if param == '' then
return nil
else
return param
end
end
local country = emptyParam(args.country)