Difference between revisions of "Template:MathWorksRef"

From PrattWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<noinclude>
+
<noinclude>This template makes it easier to add an external link to The MathWorks MATLAB Function Reference page for a particular command.  The syntax is simply:
This template makes it easier to add an external link to The MathWorks MATLAB Function Reference page for a particular command.  The syntax is simply:
 
 
<source lang="text">
 
<source lang="text">
 
{{subst:MathWorksRef|PUT_FUNCTION_HERE}}
 
{{subst:MathWorksRef|PUT_FUNCTION_HERE}}
Line 9: Line 8:
  
 
along with a link to the appropriate function.  Please be sure to include the <code>subst</code> in the template.
 
along with a link to the appropriate function.  Please be sure to include the <code>subst</code> in the template.
</noinclude>
+
</noinclude><includeonly>[http://www.mathworks.com/access/helpdesk/help/techdoc/ref/{{{1}}}.html MATLAB Function Reference: {{{1}}}], The MathWorks</includeonly>
<includeonly>[http://www.mathworks.com/access/helpdesk/help/techdoc/ref/{{{1}}}.html MATLAB Function Reference: {{{1}}}], The MathWorks
 
</includeonly>
 

Latest revision as of 21:15, 9 July 2008

This template makes it easier to add an external link to The MathWorks MATLAB Function Reference page for a particular command. The syntax is simply:

{{subst:MathWorksRef|PUT_FUNCTION_HERE}}

which will end up as:

MATLAB Function Reference: PUT_FUNCTION_HERE, The MathWorks

along with a link to the appropriate function. Please be sure to include the subst in the template.