Template talk:For2

From Meta, a Wikimedia project coordination wiki

{{subst:for2|3|10}} gives the wikitext

{{subst:#ifexpr:10>3|3 21<br>{{subst:for2|4|10}}|3 21}} which gives:

3 21
4 28
5 35
6 42
7 49
8 56
9 63
10 70

{{subst:for2|2=10}} gives the wikitext

{{subst:#ifexpr:10>1|<br>{{subst:for2|1|10}}|{{{1}}} Expression error: Unrecognised punctuation character "{"}} which gives:


1 7
2 14
3 21
4 28
5 35
6 42
7 49
8 56
9 63
10 70

See also: