Module:Calendar date/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 303:
end
end
i = i + 1
end
return "|" .. jsoncfg.main.event[2].holiday:lower() .. "|" .. holiday:lower() .. "|", "1"
Line 369:
end
if isAvail == "jsonlocal" then -- dates are contained in a local JSON file
local version = mw.title.makeTitle( 'Template', jsoncfg.main.event[it].datasource:gsub("^[Tt]emplate[:]", '') )
if not version.exists then
return inlineError("holiday", 'File missing: Template:' .. jsoncfg.main.event[it].datasource, tname) .. createTracking()