Module:Event Portal

local p = {}

local getArgs = require('Module:Arguments').getArgs local event = mw.loadData('Module:Event_Portal/data')

function missingImage(picture) local img = '' if picture == "" or picture == nil then img = 'Missing.jpg' else img = picture end return img end

function p.portal_events local output = {' '}

for name, data in pairs(event) do       if data.event_type == "D" then table.insert(output, '') else table.insert(output, '') end end

table.insert(output, ' ') return table.concat(output,"\n") end

return p