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 data.multiword then | |||
cats = cats .. "[[Category:" .. data.language.name .. " multiword terms]]" | |||
end | |||
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 49: | Line 52: | ||
end | end | ||
if data.language.proto then head = "*" .. head end | if data.language.proto then head = "*" .. head end | ||
return m_formatting.wrap_face(head, data.language, "head"), cats | return m_formatting.wrap_face(head, data.language, "head"), cats | ||
end | end |