Module:head: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 21: Line 21:
local args = require("Module:parameters").process(frame:getParent().args, params)
local args = require("Module:parameters").process(frame:getParent().args, params)
local language = require("Module:languages").get_by_code(args[1])
local language = require("Module:languages").get_by_code(args[1])
return "'''" .. args["head"] .. "'''" .. ((args["nocat"] and "") or "[[Category:" .. language.name .. " " .. args[2] .. "s]]")
return "'''" .. args["head"] .. "'''" .. ((args["nocat"] and "") or "[[Category:" .. language.name .. " " .. args[2] .. "s]][[Category:" .. language.name .. " lemmas]]")
end
end


return export
return export

Navigation menu