Template:Uses from: Difference between revisions

Closing braces instead of brackets would be nice there. Also, next test case.
(Ok, so that part was missing closing braces.)
(Closing braces instead of brackets would be nice there. Also, next test case.)
Line 14:
 
There must be a component N=1, for there to be a component N>1. If there's no component N=1, then there's no reason to put any of the component list artifacts in.
-->{{#if: {{{component1|}}}|cmp1defined|cmp1notdefined}}<!--
 
--> <small>(<!--
Line 38:
-->{{#if: {{{version}}}|<!--
 
-->{{#set:Uses {{{1}}} version={{{version}}} component=component$n$]]}}<!--
-->{{#set:Uses {{{1}}} component=component$n$ version={{{version}}}]]}}<!--
 
Ending #if {{{version}}}
-->|}}<!--
 
Ending #foreach
-->}}<!--
 
Ending #if {{{componentN}}}
-->}}<!--