Diff for /wikisrc/templates/man.mdwn between versions 1.3 and 1.4

version 1.3, 2009/10/21 18:14:04 version 1.4, 2009/10/21 18:24:25
Line 1 Line 1
   <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_UNLESS>
 <a href="http://netbsd.gw.com/cgi-bin/man-cgi?<TMPL_VAR name>+<TMPL_VAR section><TMPL_IF NAME="arch">.<TMPL_VAR arch></TMPL_IF>+<TMPL_IF NAME="collection"><TMPL_VAR collection></TMPL_ELSE>NetBSD-current</TMPL_IF>"><TMPL_VAR name><TMPL_IF NAME="section">(<TMPL_VAR section>)</TMPL_IF></a>  <a href="http://netbsd.gw.com/cgi-bin/man-cgi?<TMPL_VAR name>+<TMPL_VAR section><TMPL_IF NAME="arch">.<TMPL_VAR arch></TMPL_IF>+<TMPL_IF NAME="collection"><TMPL_VAR collection></TMPL_ELSE>NetBSD-current</TMPL_IF>"><TMPL_VAR name><TMPL_IF NAME="section">(<TMPL_VAR section>)</TMPL_IF></a>

Removed from v.1.3  
changed lines
  Added in v.1.4


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