Difference between revisions of "Module:Common"

Jump to navigation Jump to search
163 bytes added ,  16:22, 26 October 2022
no edit summary
Line 49: Line 49:
local args = a.getArgs(frame)
local args = a.getArgs(frame)
return trim(com.modulePagename(args['title']))
return trim(com.modulePagename(args['title']))
end
function com.firstUpper(frame)
local args = a.getArgs(frame)
return string.gsub(args[1], string.sub(args[1],1,1), string.upper(
string.sub(args[1],1,1)))
end
end


return com
return com

Navigation menu