Module:cognates: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 51: Line 51:
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 and nocat == false then link = link .. "[[Category:" .. nat.name .. " terms with " .. m_languages.get_by_code(lang).name .. " cognates]]" end
if nat and params.nocat == false then link = link .. "[[Category:" .. nat.name .. " terms with " .. m_languages.get_by_code(lang).name .. " cognates]]" end
table.insert(links, link)
table.insert(links, link)
end
end

Navigation menu