Annotation of wikisrc/templates/man.mdwn, revision 1.7
1.4 plunky 1: <TMPL_UNLESS NAME="name">
2: Use this template to create a manpage link. The template can use four parameters:
3: <ul>
4: <li>`name` - This required parameter is the name of the manpage.</li>
5: <li>`section` - This recommended parameter is the manpage section.</li>
6: <li>`arch` - This optional parameter is the machine architecture.</li>
7: <li>`collection` - This optional parameter refers to the NetBSD version and defaults to "NetBSD-current".</li>
8: </ul>
1.7 ! schmonz 9: <TMPL_ELSE>
1.6 plunky 10: [<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>)
1.4 plunky 11: </TMPL_UNLESS>
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb