Difference between revisions of "Template:Manual"

From WikEmacs
Jump to navigation Jump to search
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Usage: Link to a manual entry.
+
== Usage ==
 +
Refer to a manual entry, providing a link to the online manual and a lisp snippet that can be evaluated to read the manual entry locally.  
 
<pre>{{Manual|emacs|Major-Mode|Major Mode}}</pre> will be rendered as: {{Manual|emacs|Major-Mode|Major Mode}}
 
<pre>{{Manual|emacs|Major-Mode|Major Mode}}</pre> will be rendered as: {{Manual|emacs|Major-Mode|Major Mode}}
 
</noinclude>
 
</noinclude>
[http://www.gnu.org/software/emacs/manual/html_node/{{{1}}}/{{{2}}}.html#{{{2}}} {{{3}}}] (`(info "({{{1}}}) {{{3}}}")')
+
<includeonly>[http://www.gnu.org/software/emacs/manual/html_node/{{{1}}}/{{{2}}}.html#{{{2}}} {{{3}}}] (`(info "({{{1}}}) {{{3}}}")')</includeonly>

Revision as of 21:00, 28 March 2012

Usage

Refer to a manual entry, providing a link to the online manual and a lisp snippet that can be evaluated to read the manual entry locally.

{{Manual|emacs|Major-Mode|Major Mode}}

will be rendered as:

Major Mode (`(info "(emacs) Major Mode")')