Module:User:Benwing2/languages/utilities

local export = {}

function export.generateForms(frame) local iparams = { [1] = {required = true}, [2] = {required = true}, }	local iargs = require("Module:parameters").process(frame.args, iparams) local langcode = iargs[1] local lang = require("Module:languages").getByCode(langcode, true) local forms = lang:generateForms(iargs[2]) return table.concat(forms, "||") end

return export