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