Module:DiscordBan
Jump to navigation
Jump to search
Documentation for this module may be created at Module:DiscordBan/doc
local p = {}
function p.main(frame)
return p._main(frame:getParent().args)
end
function p._main(args)
local date = mw.getContentLanguage():formatDate('Y-m-d H:i:s', args.date or '')
return '|-\n| '..(args.username or '')..'\n| '..(args.id or '')..'\n| '..(args.reason or '')..'\n| '..(args.admin or '')..'\n| '..date
end
return p