Difference between revisions of "Template:Foreach"
Jump to navigation
Jump to search
>Egfrank~mediawikiwiki (added optional delimiter between repetitions) |
>Egfrank~mediawikiwiki (fixed template code bug: removed spaces between repetitons) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{2|}}}|{{{{{1}}}|{{{2}}}}}}} | {{#if:{{{2|}}}|{{{{{1}}}|{{{2}}}}}}}{{#if:{{{3|}}}|{{{delim|}}}{{{{{1}}}|{{{3}}}}}}}{{#if:{{{4|}}}|{{{delim|}}}{{{{{1}}}|{{{4}}}}}}}{{#if:{{{5|}}}|{{{delim|}}}{{{{{1}}}|{{{5}}}}}}}{{#if:{{{6|}}}|{{{delim|}}}{{{{{1}}}|{{{6}}}}}}} | ||
{{#if:{{{3|}}}|{{{delim|}}}{{{{{1}}}|{{{3}}}}}}} | {{#if:{{{7|}}}|{{{delim|}}}{{{{{1}}}|{{{7}}}}}}}{{#if:{{{8|}}}|{{{delim|}}}{{{{{1}}}|{{{8}}}}}}}{{#if:{{{9|}}}|{{{delim|}}}{{{{{1}}}|{{{9}}}}}}} | ||
{{#if:{{{4|}}}|{{{delim|}}}{{{{{1}}}|{{{4}}}}}}} | {{#if:{{{10|}}}|{{{delim|}}}{{{{{1}}}|{{{10}}}}}}}{{#if:{{{11|}}}|{{{delim|}}}{{{{{1}}}|{{{11}}}}}}}</includeonly><noinclude> | ||
{{#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]]</noinclude> | [[Category:Utility templates]]</noinclude> |