Template talk:Countdown
1 def
2 def
3 def
4 def
{{subst:iterate|10|{{subst:countdown|{{subst:waitN|10|template=pipe}}|10}}}} gives
{{subst:countdown|{{subst:substN|12}}|10}}
gives
1 {{subst:
2 {{subst:
3 {{subst:
4 {{subst:
5 {{subst:
6 {{subst:
7 {{subst:
8 {{subst:
9 {{subst:
10 {{subst:
{{subst:iterate|20|{{subst:countdown|{{subst:substN|12}}|10}}}}
gives
1 {{subst:
2 {{subst:
3 {{subst:
4 {{subst:
5 {{subst:
6 {{subst:
7 {{subst:
8 {{subst:
9 {{subst:
10 {{subst:
{{subst:iterate|20|{{subst:countdown|1={{subst:waitNsubst1|12|template{{subst:subst1}}equal{{subst:rightbraces1}}subst}}|2=10}}}} gives {{{2}}}
{{subst:countdown|1={{subst:waitNsubst|12|template=subst}}|2=10}}
edit
1 {{subst:
2 {{subst:subst}}
3 {{subst:waitNsubst|0|template=subst}}
4 {{subst:waitNsubst|1|template=subst}}
5 {{subst:waitNsubst|2|template=subst}}
6 {{subst:waitNsubst|3|template=subst}}
7 {{subst:waitNsubst|4|template=subst}}
8 {{subst:waitNsubst|5|template=subst}}
9 {{subst:waitNsubst|6|template=subst}}
10 {{subst:waitNsubst|7|template=subst}}
{{subst:countdown|1=asdf|2=10}}
edit
1 asdf
2 asdf
3 asdf
4 asdf
5 asdf
6 asdf
7 asdf
8 asdf
9 asdf
10 asdf