Module:names: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 35: Line 35:
table.insert(out, gender)
table.insert(out, gender)
end
end
table.insert(out, data.type)
table.insert(out, "[[Appendix:Glossary#" .. string.gsub(data.type, " ", "_") .. "|" .. data.type .. "]]")
if data.from then
if data.from then
local from_lang = m_languages.find_by_code(data.from)
local from_lang = m_languages.find_by_code(data.from)
Line 45: Line 45:
end
end
end
end
return table.concat(out, " ") .. (data.nocat and "" or cat)
return "''" .. table.concat(out, " ") .. "''" .. (data.nocat and "" or cat)
end
end


Navigation menu