Jump to content

Module:Women in Green event

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MSGJ (talk | contribs) at 11:42, 29 September 2023 (only return if number is valid). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

require('strict')
local p = {}

p.main = function(frame)
	local data=mw.loadJsonData('Template:WikiProject Women in Green/events')
	if data[tonumber(frame.args[1])] then
		return data[tonumber(frame.args[1])][frame.args[2]]
	end
end

return p