Module:PrevNext

local p = {};

p.prev = function (frame) local current = require('Module:Ep/switcher') local camp = string.sub(current,3) local ep = string.sub(current,3) local prev = ep - 1 return camp .. 'x' .. prev end

p.next = function (frame) local current = require('Module:Ep/switcher') local camp = string.sub(current,3) local ep = string.sub(current,3) local next = ep + 1 return camp .. 'x' .. next end

return p