Annotation of wikisrc/templates/pkg.mdwn, revision 1.5
1.4 plunky 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>
1.5 ! jym 2: ## Description
! 3:
! 4: Use this template to create a link to a [pkgsrc](http://www.pkgsrc.org)'s package. The template uses two parameters:
! 5:
! 6: * *category* - This required parameter is the category of the package.
! 7: * *name* - This required parameter is the name of the package.
! 8:
! 9: ## Examples
! 10:
! 11: Link to [[!template id=pkg category="www" name="apache"]] package page:
! 12:
! 13: \[[!template id=pkg category="www" name="apache"]]
1.1 plunky 14: </TMPL_IF>
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb