Template talk:Foreach/recursion

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Semi-recursive:

{{for|pv=separator|separator=<br>|-a-|-b-|-c-|-d-|-e-|-f-|call=foreach 1|pc1=call=x3|pc2=1=stu|pc3=2=vw|pc4=3=xyz}} gives:

{{{{{call}}}|=|=|=|=|1= @}}-a-{{{{{call}}}|=|=|=|=|1= @}}-a-{{{{{call}}}|=|=|=|=|1= @}}-a-{{{{{call}}}|=|=|=|=|1= @}}-a-{{{{{call}}}|=|=|=|=|1= @}}