Module:User:Benwing2/test-parent-of-parent

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


local export = {}

function export.test(frame)              
	local params = {
		 = {type = "language"},
		 = {list = true},
	}

	local parent_params = {
		foo = {},
	}

	local parent_args = frame:getParent().args
	error(frame:getParent():getTitle())
	local parent_parent_args = frame:getParent():getParent().args
	local args = require("Module:parameters").process(parent_args, params)
	local pargs = require("Module:parameters").process(parent_parent_args, parent_params)
	local lang = iargs
	local parts = {}
	for _, item in ipairs(iargs) do
		table.insert(("called with '%s'"):format(pargs.foo or "(none)"))
		table.insert(parts, "* " .. require("Module:links").full_link { term = item, lang = lang })
	end
	return table.concat(parts, "\n")
end

return export