Module:qhv-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 113: Line 113:
local function link(term)
local function link(term)
return "[[Contionary:" .. term .. "|" .. term .. "]]"
local links = {}
for alt in gmatch(term, "([^\s,]+)") do
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]"
table.insert(links, alt)
end
return table.concat(links, " ")
end
end