Jump to content

Template:Factorise/running

From Wikiversity

{{subst:#ifexpr:{{{1}}}=1||{{subst:#ifexpr:{{{1}}} mod {{{test}}}=0| x{{{test}}}{{subst:subst2}}Factorise/running{{subst:pipe2}}{{subst:#expr:{{{1}}}/{{{test}}}}}{{subst:pipe2}}test=2{{subst:rightbraces2}}|{{subst:subst2}}Factorise/running{{subst:pipe2}}{{{1}}}{{subst:pipe2}}test={{subst:#expr:{{{test}}}+1}}{{subst:rightbraces2}}}}}}

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