Jump to content

Template:Uses from: Difference between revisions

I wonder if I almost made this readable. Yay whitespace.
(→‎Discussion: Cleaned up formatting. Should hopefully be easier to read.)
(I wonder if I almost made this readable. Yay whitespace.)
Line 1:
<div class="examplemeta libheader">'''Uses:''' [[SMW::off]][[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]][[SMW::on]] <small>('''Component:''' {{{2}}})</small><includeonly>{{#set:Uses library={{{1}}}}}{{#set:Uses tcllib package={{{2}}}}}</includeonly></div><noinclude>!--
 
 
-->[[:Category:{{{1}}}|{{{1}}}]]<!--
 
 
-->[[Category:{{{1}}}]][[SMW::on]]<!--
 
 
--> <small>('''Component:''' {{{2}}})</small><!--
 
 
--><includeonly><!--
 
 
-->{{#set:Uses library={{{1}}}}}<!--
 
 
-->{{#set:Uses tcllib package={{{2}}}}}<!--
 
 
--></includeonly></div><!--
 
 
--><noinclude>
 
This template is intended to handle the case where a library has many components within it (examples of this include CPAN, RubyGems and Tcllib). It has two required parameters: <tt><nowiki>{{</nowiki>uses from|</tt>''library''<tt>|</tt>''component''<tt><nowiki>}}</nowiki></tt>. The ''library'' is the name of the overall library of components (which should also be the name of a category here on RC) and the ''component'' is the name of the component within it (which can be almost any string).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.