Module:Foreach/doc

See Template:Fe.

See also and specifically w:Module:For loop.