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

version 1.4, 2009/10/21 20:12:11 version 1.5, 2009/11/09 00:40:26
Line 1 Line 1
 <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_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>
 Use this template to create a package link. The template uses two parameters:  ## Description
 <ul>  
 <li>`name` - The name of the package.</li>  Use this template to create a link to a [pkgsrc](http://www.pkgsrc.org)'s package. The template uses two parameters:
 <li>`category` - The package category.</li>  
 </ul>  * *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"]]
 </TMPL_IF>  </TMPL_IF>

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


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