Hello, you have come here looking for the meaning of the word
Module:ko/multi. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Module:ko/multi, but we will also tell you about its etymology, its characteristics and you will know how to say
Module:ko/multi in singular and plural. Everything you need to know about the word
Module:ko/multi you have here. The definition of the word
Module:ko/multi will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Module:ko/multi, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
local export = {}
local m_template_parser = require("Module:template parser")
local class_else_type = m_template_parser.class_else_type
local ko_link = require("Module:ko").link
local parse = m_template_parser.parse
local pcall = pcall
function export.main(frame)
local text = frame:getParent().args
if not text then
return ""
end
text = parse(frame:getParent().args)
for node, parent, key in text:iterate_nodes() do
local class = class_else_type(node)
if class ~= "wikitext" then
local new
if class == "template" and node:get_name() == "ko-l" then
local success, result = pcall(ko_link, node:get_arguments(), lang)
if success then
new = result
end
end
if not new then
new = node:expand()
end
if parent then
parent = new
else
text = new
end
end
end
return tostring(text)
end
return export