Module:LSEvent

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 11:24, 1 September 2024 by Mayhalke (talk | contribs)
Jump to navigation Jump to search

Documentation for this module may be created at Module:LSEvent/doc

local p = {}

local lsEventsData = mw.loadData('Module:LSEvents/data')

function p.main(frame)
    local eventKey = frame.args[1]
    local eventData = lsEventsData[eventKey] or {}

    return {
        eventName = eventData.eventName or "",
        description = eventData.description or ""
    }
end

return p