Module:qhv-adj: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 106: Line 106:
local links = {}
local links = {}
for alt in gmatch(term, "([^%s,]+)") do
for alt in gmatch(term, "([^%s,]+)") do
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]"
if not alt == "—" then
alt = "[[Contionary:" .. alt .. "|" .. alt .. "]]"
end
table.insert(links, alt)
table.insert(links, alt)
end
end