Content deleted Content added
test |
|||
Line 3:
local roadDataModule = require("Module:Road data")
local util = require("Module:Road data/util")
local parserModule = require("Module:Road data/parser")
local parser = parserModule.parser
function p.headerStyle(frame)
Line 9 ⟶ 11:
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
if
return "header-deleted"▼
elseif uc then▼
return "header-uc"
elseif hist then
return "header-hist"
elseif deleted then
▲ return "header-deleted"
return "header-" .. color
else return "header-default"
end
|