10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) 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 |