Diff for /wikisrc/templates/pkg.mdwn between versions 1.1 and 1.5

version 1.1, 2009/10/21 19:35:33 version 1.5, 2009/11/09 00:40:26
Line 1 Line 1
 <TMPL_IF NAME="name">  <TMPL_IF NAME="name">[<TMPL_VAR NAME="category">/<TMPL_VAR NAME="name">](http://pkgsrc.se/<TMPL_VAR ESCAPE=URL NAME="category">/<TMPL_VAR ESCAPE=URL NAME="name">)<TMPL_ELSE>
 [<TMPL_VAR category><TMPL_VAR name>](http://pkgsrc.se/<TMPL_VAR category>/<TMPL_VAR name>)  ## Description
 <TMPL_ELSE>  
 Use this template to create a package link. The template uses two parameters:  Use this template to create a link to a [pkgsrc](http://www.pkgsrc.org)'s package. The template uses two parameters:
 <ul>  
 <li>`name` - The name of the package.</li>  * *category* - This required parameter is the category of the package.
 <li>`category` - The package category.</li>  * *name* - This required parameter is the name of the package.
 </ul>  
   ## Examples
   
   Link to [[!template id=pkg category="www" name="apache"]] package page:
   
           \[[!template id=pkg category="www" name="apache"]]
 </TMPL_IF>  </TMPL_IF>

Removed from v.1.1  
changed lines
  Added in v.1.5


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb