Template:Comma separated entries: Difference between revisions

switch to Lua version - this allows for unlimited entries
(new version which substitutes cleanly, and strips whitespace)
(switch to Lua version - this allows for unlimited entries)
Line 1:
{{<includeonly>safesubst:</includeonly>#invoke:Comma separated entries|main}}<noinclude>
{{{{{|safesubst:}}}#if:1|{{{1|}}}}}{{{{{|safesubst:}}}#if:{{{2|}}}|{{{{{|safesubst:}}}#if:{{{1|}}}|, {{{{{|safesubst:}}}#if:1|{{{2}}}}}|{{{2}}}}}}}{{{{{|safesubst:}}}#if:{{{3|}}}|{{{{{|safesubst:}}}#if:{{{1|}}}{{{2|}}}|, {{{{{|safesubst:}}}#if:1|{{{3}}}}}|{{{3}}}}}}}{{{{{|safesubst:}}}#if:{{{4|}}}|{{{{{|safesubst:}}}#if:{{{1|}}}{{{2|}}}{{{3|}}}|, {{{{{|safesubst:}}}#if:1|{{{4}}}}}|{{{4}}}}}}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>