Difference between revisions of "Template:Manual"

From Octave
Jump to navigation Jump to search
(Create template for XREF links to the Octave manual.)
 
(Add optional parameter for label.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[http://www.octave.org/doc/interpreter/XREF{{{1}}} <code>{{{1}}}</code>
+
<includeonly>[https://www.octave.org/doc/interpreter/XREF{{{1}}}.html <code>{{{2|{{{1}}}}}}</code>]</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Latest revision as of 21:27, 16 July 2019

[edit]

Template-info.png Template Documentation

This template is for URLs to the GNU Octave Manual using the XREF mechanism.

Example:

To get nice plots, one should use the {{manual|plot}} function within Octave.

Use a label for {{manual|plot|the plotting function}}.

Will produce:

To get nice plots, one should use the plot function within Octave.

Use a label for the plotting function.