10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
local function format_headword(data) | local function format_headword(data) | ||
local cats = "" | local cats = "" | ||
if is_non_lemma(data.pos) then | if is_non_lemma(data.pos) then | ||
cats = cats .. "[[Category:" .. data.language.name .. " non-lemma forms]]" | cats = cats .. "[[Category:" .. data.language.name .. " non-lemma forms]]" | ||
Line 52: | Line 49: | ||
end | end | ||
if data.language.proto then head = "*" .. head end | if data.language.proto then head = "*" .. head end | ||
if mw.ustring.find(data.term, " ") then cats = cats .. "[[Category:" .. data.language.name .. " multiword terms]]" end | |||
return m_formatting.wrap_face(head, data.language, "head"), cats | return m_formatting.wrap_face(head, data.language, "head"), cats | ||
end | end |