Module:Calendar date/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 408:
end
elseif isAvail == "calculator" then
ifcite = (jsoncfg.main.event[it].source thenand (frame:preprocess('<ref name="' .. holiday .. ' dates">' .. jsoncfg.main.event[it].source .. '</ref>')))
-- if jsoncfg.main.event[it].source then
-- cite = frame:preprocess('<ref name="' .. holiday .. ' dates">' .. jsoncfg.main.event[it].source .. '</ref>')
-- end
end
else
Line 417 ⟶ 418:
 
--- Determine pre-pended text eg. "sunset, <date>"
jsoncfg.main.event[it].prepend1 = (jsoncfg.main.event[it].prepend1 and (jsoncfg.main.event[it].prepend1 .. ", ")) or ""
--ifjsoncfg.main.event[it].prepend2 not= (jsoncfg.main.event[it].prepend1prepend2 and (jsoncfg.main.event[it].prepend2 .. ", ")) or then""
-- jsoncfg.main.event[it].prepend1 = ""
--else
-- jsoncfg.main.event[it].prepend1 = jsoncfg.main.event[it].prepend1 .. ", "
--end
 
if not jsoncfg.main.event[it].prepend2 then
jsoncfg.main.event[it].prepend2 = ""
else
jsoncfg.main.event[it].prepend2 = jsoncfg.main.event[it].prepend2 .. ", "
end
 
-- Render