Module:Infobox road/sandbox: Difference between revisions

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