Module:head: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 21: Line 21:
end
end
local head = args["head"] or make_head(mw.title.getCurrentTitle().text)
local head = args["head"] or make_head(mw.title.getCurrentTitle().text)
return "'''" .. head .. "'''[[Category:" .. language.name .. " " .. pos .. "s]]"
return "'''" .. head .. ((args["nocat"] and "") or "'''[[Category:" .. language.name .. " " .. pos .. "s]]")
end
end


return export
return export