Jump to content

Module:sandbox

From Wiktionary, the free dictionary

Module sandbox for tests. The main function is show.

If you want to keep your test module as private, please create page in format: Module:User:(username)/(module_name).


Invocation section

[edit]

true


local export = {}

function export.show(frame)
	local mod = mw.loadData("Module:headword/data")
	local key = {}
	rawset(mod, key, true)
	return mod[key]
end

return export