10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 56: | Line 56: | ||
data["pre"] = nil | data["pre"] = nil | ||
end | end | ||
local link = frame:expandTemplate{title = "m+", args = data} | local link = (pre or "") .. frame:expandTemplate{title = "m+", args = data} | ||
if nat and params.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) |