Template:Uses from: Difference between revisions
Tweak to have {{{1}}} identify whether it's a library (or implementation, or whatever).
(Fix display of </small> when there are no components.) |
(Tweak to have {{{1}}} identify whether it's a library (or implementation, or whatever).) |
||
(One intermediate revision by the same user not shown) | |||
Line 1:
<div class="examplemeta libheader"><noinclude>'''Uses:''' (
-->[[uses::
-->{{#set:Uses
-->[[Category:{{{
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.
Line 25:
-->[[SMW::on]]<!--
-->[[Uses
Ending #foreach
Line 35:
Only apply </small> if we have components.
-->{{#if: {{{component1|}}}|<!--
--> )</small> <!--
-->}}<!--
Line 43:
--><noinclude>
This template is intended to handle the case where a
==Discussion==
Line 49:
===What it does===
* Associates the page with the
** Semantically, as <tt><nowiki>[[Uses
** As part of <tt>[[:Category:{{{
** By linking to <tt>[[
* Associates the page with each component specified
** Semantically, as <tt><nowiki>[[Uses
** By linking to <tt><nowiki>[[
===What it needs to do (eventually)===
* Associate
* Associate component version information with the page.
|