Module:cognates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Line 43: Line 43:
for _, lang in ipairs(langs) do
for _, lang in ipairs(langs) do
--local term, data = m_inline.parse(args[lang])
local term, data = m_inline.parse(args[lang])
--data[1], data[2] = lang, term
data[1], data[2] = lang, term
--local link = frame:expandTemplate{title = "m+", args = data}
local link = frame:expandTemplate{title = "m+", args = data}
--if nat then link = link .. "[[Category:" .. nat.name .. " terms with " .. lang.name .. " cognates]]" end
if nat then link = link .. "[[Category:" .. nat.name .. " terms with " .. lang.name .. " cognates]]" end
--table.insert(links, link)
table.insert(links, link)
end
end