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