Module:Sandbox/User:Riblet15/Loop

From Illerai

This is the current revision of this page, as edited by imported>Riblet15 at 02:41, 25 May 2021. The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Sandbox/User:Riblet15/Loop/doc

local p = {}

function p.main(frame)
    local args = frame.args

	local prev = tonumber(args['1']) or 0
	
    return '{{subst:#invoke:Sandbox/User:Riblet15/Loop|main|'..(prev+1)..'}}'
end

return p