Module:rue-cell

Hello, you have come here looking for the meaning of the word Module:rue-cell. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:rue-cell, but we will also tell you about its etymology, its characteristics and you will know how to say Module:rue-cell in singular and plural. Everything you need to know about the word Module:rue-cell you have here. The definition of the word Module:rue-cell will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:rue-cell, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local m_links = require("Module:links")
local lang = require("Module:languages").getByCode("rue")
local export = {}

local accel_forms = {
	--NOUNS
	ns = "nom|s",
	np = "nom|p",
	gs = "gen|s",
	gp = "gen|p",
	ds = "dat|s",
	dp = "dat|p",
	as = "acc|s",
	ap = "acc|p",
	is = "ins|s",
	ip = "ins|p",
	ls = "loc|s",
	lp = "loc|p",
	vs = "voc|s",
	vp = "voc|p",
}

function export.create(frame)
	local args = frame:getParent().args
	local links = {}
	if not args or args == "" then
		return "―"
	else
		local accel_form = args
		local accel
		if accel_form then
			local mode = args
			if mode and mode_prefix then
				accel_form = mode_prefix .. accel_form
			end
			if accel_forms then
				if mode and mode_prepend then
					accel_form = mode_prepend .. accel_forms
				else
					accel_form = accel_forms
				end
			end
			accel = {form = accel_form}
		end
		local words = mw.text.split(args, "%s*,%s*")
		if words then
			for i,j in ipairs(words) do
				table.insert(links, m_links.full_link({lang = lang, term = j, accel = accel}))
			end
		end
	end
	return table.concat(links, ", ")
end

return export