File:  [NetBSD Developer Wiki] / wikisrc / templates / man.mdwn
Revision 1.7: download - view: text, annotated - select for diffs
Wed Oct 21 19:12:19 2009 UTC (4 years, 5 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
stray slash

<TMPL_UNLESS NAME="name">
Use this template to create a manpage link. The template can use four parameters:
<ul>
<li>`name` - This required parameter is the name of the manpage.</li>
<li>`section` - This recommended parameter is the manpage section.</li>
<li>`arch` - This optional parameter is the machine architecture.</li>
<li>`collection` - This optional parameter refers to the NetBSD version and defaults to "NetBSD-current".</li>
</ul>
<TMPL_ELSE>
[<TMPL_VAR name><TMPL_IF NAME="section">\(<TMPL_VAR section>\)</TMPL_IF>](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>)
</TMPL_UNLESS>

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