Module:inc-extension

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


local export = {}

local m_links = require("Module:links")

local m_lang_inc_ash = require("Module:languages").getByCode('inc-ash')

function export.show(frame)
	local args = frame:getParent().args
	local lang = args or 'und'
	local m_lang = require("Module:languages").getByCode(lang)
	
	local res = ""
	for i, suffix in ipairs(args) do
		if i ~= 1 then
			local word = frame:expandTemplate{title = 'chars', args = {'pra', suffix}}
			word = '-' .. word .. '-'
			if i ~= 2 or not args then res = res .. ' + ' end
			if i == 2 then if not args then res = res .. ' ] ' end end
			res = res .. m_links.full_link({lang = m_lang_inc_ash, term = word}, "term")
			if not args then res = res .. ']' end
		end
	end
	
	return res
end

return export