Content deleted Content added
fix Tag: Reverted |
|||
Line 2:
local getArgs = require('Module:Arguments').getArgs
local roadDataModule = require("Module:Road data")
local util = require("Module:Road data/util")
function p.headerStyle(frame)
Line 11 ⟶ 9:
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 routeType = args.type
if deleted
return "header-deleted"
elseif uc
return "header-uc"
elseif hist
return "header-hist"
else return "header-default"
end
|