Module:LSEvent: Difference between revisions

Content deleted Content added
Mayhalke (talk | contribs)
copied from Module:NicknameVariables
 
Mayhalke (talk | contribs)
No edit summary
Line 1:
local p = {}
 
local lsEventsData = mw.loadData( 'Module:LSEvents/data' )
 
function p.main( frame )
local lsEventsDataeventKey = frame.args[1]
local eventData = lsEventsData[eventKey] or {}
 
local eventName = eventData.eventName or ""
return lsEventsData[lsEventsText] or lsEventsText or ""
local description = eventData.description or ""
 
return eventName, description
end