File:  [NetBSD Developer Wiki] / wikisrc / templates / pkg.mdwn
Revision 1.5: download - view: text, annotated - select for diffs
Mon Nov 9 00:40:26 2009 UTC (4 years, 5 months ago) by jym
Branches: MAIN
CVS tags: HEAD
Wikify, and add an example.

<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>
## Description

Use this template to create a link to a [pkgsrc](http://www.pkgsrc.org)'s package. The template uses two parameters:

* *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>

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