Module:qay-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 94: Line 94:
local links = {}
local links = {}
for alt in gmatch(term, "([^%s,]+)") do
for alt in gmatch(term, "([^%s,]+)") do
alt = term == "—" and term or "[[Contionary:" .. alt .. "|" .. alt .. "]]"
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]"
table.insert(links, alt)
table.insert(links, alt)
end
end
return table.concat(links, ", ")
return table.concat(links, ", ")
end
end
local function repl(param)
local function repl(param)