Module:Chapter

local p = {}

function p.num(frame) local num = 0 local title = mw.title.getCurrentTitle.text; num = string.gsub(title, "Manhua/Chapter ", "") return tonumber(num) end

function p.num2(frame) local num = 0 local title = mw.title.getCurrentTitle.text; num = string.gsub(title, "Novel/Chapter ", "") return tonumber(num) end

return p