Jump to content

Module:Pagination/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Codemini (talk | contribs)
No edit summary
Codemini (talk | contribs)
I'm looking for a way to make this module to be invoked by others
 
Line 1: Line 1:
local p = {}
local p = {}


local mPagination = require('Module:Pagination').pagination(args){ args[1] == 'CSS', args[2] == 'HTML' }
local mPagination = require('Module:Pagination').pagination(frame)


function p.main(frame, args, mPagination)
function p.main(args)
if previous == '' then
return mPagination
return nil
else return mPagination
end
end


end
return p
return p

Latest revision as of 14:18, 30 May 2025

local p = {}

local mPagination = require('Module:Pagination').pagination(frame)

function p.main(args)
 if previous == '' then
 return nil
 else return mPagination
end

end
return p