Difference between revisions of "Template:Foreach"
added optional delimiter between repetitions
>Egfrank~mediawikiwiki (added code, category) |
>Egfrank~mediawikiwiki (added optional delimiter between repetitions) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}|{{{{{1}}}|{{{2}}}}}}}{{#if:{{{3|}}}|{{{{{1}}}|{{{3}}}}}}}{{#if:{{{4|}}}|{{{{{1}}}|{{{4}}}}}}}{{#if:{{{5|}}}|{{{{{1}}}|{{{5}}}}}}} | <includeonly> | ||
{{#if:{{{6|}}}|{{{{{1}}}|{{{6}}}}}}}{{#if:{{{7|}}}|{{{{{1}}}|{{{7}}}}}}}{{#if:{{{8|}}}|{{{{{1}}}|{{{8}}}}}}}{{#if:{{{9|}}}|{{{{{1}}}|{{{9}}}}}}} | {{#if:{{{2|}}}|{{{{{1}}}|{{{2}}}}}}} | ||
{{#if:{{{10|}}}|{{{{{1}}}|{{{10}}}}}}}{{#if:{{{11|}}}|{{{{{1}}}|{{{11}}}}}}}</includeonly><noinclude> | {{#if:{{{3|}}}|{{{delim|}}}{{{{{1}}}|{{{3}}}}}}} | ||
{{#if:{{{4|}}}|{{{delim|}}}{{{{{1}}}|{{{4}}}}}}} | |||
{{#if:{{{5|}}}|{{{delim|}}}{{{{{1}}}|{{{5}}}}}}} | |||
{{#if:{{{6|}}}|{{{delim|}}}{{{{{1}}}|{{{6}}}}}}} | |||
{{#if:{{{7|}}}|{{{delim|}}}{{{{{1}}}|{{{7}}}}}}} | |||
{{#if:{{{8|}}}|{{{delim|}}}{{{{{1}}}|{{{8}}}}}}} | |||
{{#if:{{{9|}}}|{{{delim|}}}{{{{{1}}}|{{{9}}}}}}} | |||
{{#if:{{{10|}}}|{{{delim|}}}{{{{{1}}}|{{{10}}}}}}} | |||
{{#if:{{{11|}}}|{{{delim|}}}{{{{{1}}}|{{{11}}}}}}}</includeonly><noinclude> | |||
[[{{PAGENAME}}/Doc]] | [[{{PAGENAME}}/Doc]] | ||
[[Category:Utility templates]] | [[Category:Utility templates]]</noinclude> |