Module:jv

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

This module does things related to Javanese.


local export = {}
local links = require("Module:links")
local lang = require("Module:languages")

function export.set(frame)
	local result = {}
	for term in mw.text.gsplit(frame.args[1], ", ") do
		table.insert(result, links.full_link({ lang = lang.getByCode("jv"), term = term }))
	end
	return table.concat(result, ", ")
end

return export