Template:PipeN-new

{{subst:#ifexpr:{{{1}}}>0 |{{subst:subst}}pipeN-new{{subst:pipe}}{{subst:#expr:{{{1}}}-1}}{{subst:rightbraces}} |{{subst:pipe}} }}

Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see Help:Recursive conversion of wikitext.