{{ #foreach: foo$n$_bar | foo$n$_bar = {{{foo$n$_bar}}} }}
This template is used as an example on MMK:MAK.