Template:Forge: Difference between revisions

From Octave
Jump to navigation Jump to search
m (trying to fix optional second argument)
m (Undo revision 1196 by Carandraug (talk))
Line 1: Line 1:
<includeonly>[http://octave.sourceforge.net/{{{1}}}/index.html {{if||{{{2}}}| {{{2}}} | {{{1}}} }}]</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
<includeonly>[http://octave.sourceforge.net/{{{1}}}/index.html {{#if:{{{2}}}|{{{2}}}|{{{1}}}}}]</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 16:32, 14 June 2012

[edit]

Template-info.png Template Documentation

Creates links to octave-forge packages. The created link points to the package index page. This page will show the package download link and respective documentation.

Example:

These functions are part of the {{Forge|image}} package

Will produce:

"These functions are part of the {{{2}}} package"

An alternative text can be given for the link:

Example:

These functions are part of the {{Forge|ga|genetic optimization}} package

Will produce:

"These functions are part of the genetic optimization package"