Module:ja-blend

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

Used by Template:ja-blend. See there for details.

Requiring Module:parameters, Module:ja-link.


local export = {}

local link = require('Module:ja-link').link
-- ]

function export.show(frame)
	local args = require("Module:parameters").process(frame:getParent().args, {
		 = {list = true, allow_holes = true},
		 = {list = true, allow_holes = true},
		 = {list = true, allow_holes = true},
		 = {list = true, allow_holes = true},
		 = {list = true, allow_holes = true},
		 = {list = true, allow_holes = true},
		 = {},
		 = {},
		 = {},
		 = {},
	})
	local len = (args.maxindex + 1) / 2
	local result = {}
	local sort = ""
	for i = 1, len do
		table.insert(result, link({
            lemma = args,
            kana = args,
            gloss = args,
            transliteration = args,
            lit = args,
            linkto = args,
            pos = args,
        }, {}))
		sort = sort .. mw.ustring.gsub(args or args, "", "")
	end
	return (args and "" or (" and "b" or "B") .. "lend]] of " ))) .. table.concat(result, " + ") .. (args and "" or (" or sort) .. "]]"))
end

return export