Module:LSEvent

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 12:41, 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:LSEvent/data')

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

    local eventName = eventData.eventName or ""
    local description = eventData.description or ""

    return eventName, description
end

return p