Template:Uses from: Difference between revisions

Unfinished.
(→‎Discussion: Further thoughts.)
(Unfinished.)
Line 11:
-->}}<!--
 
-->[[Category:{{{1}}}]][[SMW::on]]<!--
 
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.
--> <small>('''Component[s]:''' {{{2}}})<!--
-->{{#if: {{{component1}}}|<!--
 
--> <small>(<!--
 
Is there more than one component?
(Unfinished...have to head to work.)
{{#if: {{{component2}}}|
 
--> <small>('''Component[s]:''' {{{2}}})<!--
 
--><includeonly><!--
 
-->{{#foreach: component$n$|<!--
 
-->[[SMW::on]]<!--
 
-->{{Uses {{{1}}} package::component$n$|component$n$}}<!--
Line 26 ⟶ 37:
-->{{#set:Uses {{{1}}} component=component$n$ version={{{version}}}]]<!--
 
Ending #if {{{version}}}
-->}}<!--
 
Ending #foreach
-->}}<!--
 
Ending #if {{{componentN}}}
-->}}<!--