Template talk:PipeN

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

A template which becomes a pipe ("|") at the N+1st substitution.

{{subst:pipeN|10}}{{subst:pipeN|0}} gives {{subst:subst}}pipeN{{subst:!}}4{{subst:Rightbraces}}|

{{subst:#if:1|
{{subst:iterate|10|
{{subst:countdown|{{subst:pipeN|10}}|10}}
}}
}}

gives



1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |

Use
{{subst:PipeN|no. of conversions }}


See also[edit]

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