File:  [NetBSD Developer Wiki] / wikisrc / templates / man.mdwn
Revision 1.10: download - view: text, annotated - select for diffs
Wed Oct 21 19:25:22 2009 UTC (11 years, 4 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
try a raw a href

    1: <TMPL_IF NAME="name">
    2: 
    3: <a href="http://netbsd.gw.com/cgi-bin/man-cgi?<TMPL_VAR name>+<TMPL_IF NAME="section"><TMPL_VAR section></TMPL_IF><TMPL_IF NAME="arch">.<TMPL_VAR arch></TMPL_IF>+<TMPL_IF NAME="collection"><TMPL_VAR collection><TMPL_ELSE>NetBSD-current</TMPL_IF>">hi there</a>
    4: 
    5: <TMPL_ELSE>
    6: Use this template to create a manpage link. The template can use four parameters:
    7: <ul>
    8: <li>`name` - This required parameter is the name of the manpage.</li>
    9: <li>`section` - This recommended parameter is the manpage section.</li>
   10: <li>`arch` - This optional parameter is the machine architecture.</li>
   11: <li>`collection` - This optional parameter refers to the NetBSD version and defaults to "NetBSD-current".</li>
   12: </ul>
   13: </TMPL_IF>

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