Template:For/aux/few

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

{{{{{c}}}|{{{pc1}}}|{{{pc2}}}|{{{pc3}}}|{{{pc4}}}|{{{pv}}}={{{prefix}}}{{{2}}}{{{postfix}}}}}{{{{{{empty}}}empty}}}{{{{{{empty}}}empty}}}{{{{{{empty}}}empty}}}{{{{{{empty}}}empty}}}{{{{{{empty}}}empty}}}

Template documentation[view] [edit] [history] [purge]

Examples[edit]

{{for/few|-|3||c|q|call=x3|few=1}} using Template:X3 gives

333--ccc-qqq-===-===

{| |- | {{for/few| {{!}}- {{!}} |3||c|q|call=x3}} |} expands to

333
ccc
qqq
===
===
p333<br><br>ccc<br>qqqq

rendering as:

p333aacccaqqqa===a===q

p{{for/few|a|3||c|call=x3|newlines=1|few=1}}q expands to

paaa
333

cccq

rendering as:

p333aaccca===a===a===q

Substitution[edit]

p{{subst:for/few|a|3||c|call=x3|nl=1|substf=subst:|substfa=subst:|substa=subst:|few=1}}q gives the wikitext

p{{{{{substc|}}}x3|=|=|=|=|1=3}}{{{{{substc|}}}x3|=|=|=|=|1=}}{{{{{substc|}}}x3|=|=|=|=|1=c}}q

rendering as:

p333cccq


p{{subst:for/few|a|3||c|call=x3|nl=1|substf=subst:|substfa=subst:|substa=subst:|newlines=1|few=1}}q gives the wikitext

p{{{{{substc|}}}x3|=|=|=|=|1=3}}a{{{{{substc|}}}x3|=|=|=|=|1=}}a{{{{{substc|}}}x3|=|=|=|=|1=c}}q

which expands to

paaa
333

cccq

rendering as:

p333aacccq


p{{subst:for/few|a|3||c|call=x3|nl=1|substf=subst:|substfa=subst:|substa=subst:|substc=subst:|newlines=1|few=1}}q gives the wikitext

p333aacccq

rendering as:

p333aacccq