Module:sandbox

From Wiktionary, the free dictionary
Jump to navigation Jump to search

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]
  • 1, 2, and 3
  • 1, and 2

local export = {}

function export.show(frame)
	return "* " .. mw.text.listToText({1, 2, 3}, ", ", ", and ")
	.. "\n* " .. mw.text.listToText({1, 2}, ", ", ", and ")
end

return export