File:  [NetBSD Developer Wiki] / wikisrc / templates / pkg.mdwn
Revision 1.7: download - view: text, annotated - select for diffs
Mon Dec 7 23:12:48 2015 UTC (4 years, 11 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
Does this extra newline help?

    1: [[!templatebody <<ENDBODY
    2: [<TMPL_VAR NAME="category">/<TMPL_VAR NAME="name">](http://pkgsrc.se/<TMPL_VAR ESCAPE=URL NAME="category">/<TMPL_VAR ESCAPE=URL NAME="name">)
    3: ENDBODY]]
    4: 
    5: ## Description
    6: 
    7: Use this template to create a link to a [pkgsrc](http://www.pkgsrc.org)'s package. The template uses two parameters:
    8: 
    9: * *category* - This required parameter is the category of the package.
   10: * *name* - This required parameter is the name of the package.
   11: 
   12: ## Examples
   13: 
   14: Link to [[!template id=pkg category="www" name="apache"]] package page:
   15: 
   16:         \[[!template id=pkg category="www" name="apache"]]

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