Module:CEvents

local p = {} function p.table local ce_data = mw.loadData("Module:CEvents/Data") local table = mw.html.create("table") :addClass("wikitable") :css("width", "100%") :css("text-align", "center") :tag("tr") :tag("th"):wikitext("Pic"):done :tag("th"):wikitext("Period"):done :tag("th"):wikitext("Description"):done :done for _, data in ipairs(ce_data) do       table:tag("tr") :tag("td"):wikitext(""):done :tag("td"):wikitext(data.date):done :tag("td"):wikitext(data.desc):done :done end return tostring(table) end return p