Module:Infobox road/sandbox: Difference between revisions

Content deleted Content added
try this
fix
Line 21:
elseif color then
return "header-" .. color
elseif not args.header_type and not color and not args.state or not args.province or not args.country then
return "header-default"
elseif args.country then
return "header-" .. country
else
local countryModule = mw.loadData("Module:Road data/countrymask")
country = args.country or countryModule[state]
return "header-" .. country
return else return"header-default"
end
end