Diff for /wikisrc/templates/pkg.mdwn between versions 1.3 and 1.6

version 1.3, 2009/10/21 19:54:44 version 1.6, 2015/06/19 20:26:29
Line 1 Line 1
 <TMPL_IF NAME="name">[<TMPL_VAR category>/<TMPL_VAR name>](http://pkgsrc.se/<TMPL_VAR category>/<TMPL_VAR name>)<TMPL_ELSE>  [[!templatebody <<ENDBODY
 Use this template to create a package link. The template uses two parameters:  [<TMPL_VAR NAME="category">/<TMPL_VAR NAME="name">](http://pkgsrc.se/<TMPL_VAR ESCAPE=URL NAME="category">/<TMPL_VAR ESCAPE=URL NAME="name">)
 <ul>  ENDBODY]]
 <li>`name` - The name of the package.</li>  ## Description
 <li>`category` - The package category.</li>  
 </ul>  Use this template to create a link to a [pkgsrc](http://www.pkgsrc.org)'s package. The template uses two parameters:
 </TMPL_IF>  
   * *category* - This required parameter is the category of the package.
   * *name* - This required parameter is the name of the package.
   
   ## Examples
   
   Link to [[!template id=pkg category="www" name="apache"]] package page:
   
           \[[!template id=pkg category="www" name="apache"]]

Removed from v.1.3  
changed lines
  Added in v.1.6


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