Difference between revisions of "Template:Forge"

From Octave
Jump to navigation Jump to search
m (Undo revision 1196 by Carandraug (talk))
m (trying to fix optional second argument)
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 {{{2|{{{1}}}}}}]</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 09:37, 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 image 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"