Module:Infobox/FTW

local Infobox = {} local language = mw.language.new('en')

-- function previous -- Previous ←    local chapter = frame.args['chapter'] or nil if chapter == 1 then return nil elseif tonumber(chapter) then local prevchapter = chapter - 1 if mw.title.new(           string.format('Chapter %s',prevchapter)                ).exists then return ..string.format('Chapter %s',prevchapter).. end else return 'N/A' end end

return Infobox