Template:Uses from: Difference between revisions

Ok, try the whole if on one line?
(Use a simple test with the parserfuncitons if.)
(Ok, try the whole if on one line?)
Line 4:
-->{{#set:Uses library={{{1}}}}}<!--
 
-->{{#if: {{{version}}}|Has[[SMW::on]]{{#set:Uses {{{1}}} version|Has no ={{{version}}}[[SMW::off]]}}<!--
 
[[SMW::on]]{{#set:Uses {{{1}}} version={{{version}}}[[SMW::off]]