Module:head: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 49: Line 49:
end
end
if data.language.proto then head = "*" .. head end
if data.language.proto then head = "*" .. head end
if mw.ustring.find(head, " ") then
if data.multiword then
cats = cats .. "[[Category:" .. data.language.name .. " multiword terms]]"
cats = cats .. "[[Category:" .. data.language.name .. " multiword terms]]"
end
end
head = mw.ustring.gsub(head, "_", " ")
return m_formatting.wrap_face(head, data.language, "head"), cats
return m_formatting.wrap_face(head, data.language, "head"), cats
end
end