Template:Wolfram: Difference between revisions

From Rosetta Code
Content added Content deleted
m (conjoin 2nd, 3rd etc args, and add defaults.)
m (fix syntax.)
 
Line 1: Line 1:
[http://mathworld.wolfram.com/{{{1|{{PAGENAME}}}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}.html {{{1|{{PAGENAMEE}}} {{{2|}}} {{{3|}}} {{{4|}}} {{{5|}}} {{{6|}}} {{{7|}}} {{{8|}}} {{{9|}}}]
[http://mathworld.wolfram.com/{{{1|{{PAGENAME}}}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}.html {{{1|{{PAGENAMEE}}}}} {{{2|}}} {{{3|}}} {{{4|}}} {{{5|}}} {{{6|}}} {{{7|}}} {{{8|}}} {{{9|}}}]
<includeonly>[[Category:Wolfram Linked]]</includeonly><noinclude>
<includeonly>[[Category:Wolfram Linked]]</includeonly><noinclude>
== Usage ==
== Usage ==
Line 6: Line 6:
* the first parameter '''{{{1}}}''' is the Wolfram.com article name, without the "<code>.html</code>" extension.
* the first parameter '''{{{1}}}''' is the Wolfram.com article name, without the "<code>.html</code>" extension.
** (default is same as rosettacode article name)
** (default is same as rosettacode article name)
* The second, third parameters are conjoined in the link (BirthdayProblem), but space separated in the text (Birthday Problem).
* The second, third etc parameters are conjoined in the link (BirthdayProblem), but space separated in the text (Birthday Problem).


===Example===
===Example===

Latest revision as of 06:13, 4 June 2013

Wolfram

Usage

{{Wolfram|FullArticleName}}
{{Wolfram|Full|Article|Name}}
  • the first parameter {{{1}}} is the Wolfram.com article name, without the ".html" extension.
    • (default is same as rosettacode article name)
  • The second, third etc parameters are conjoined in the link (BirthdayProblem), but space separated in the text (Birthday Problem).

Example

{{{Wolfram|BirthdayProblem}}} links to http://mathworld.wolfram.com/BirthdayProblem.html
{{{Wolfram|Birthday|Problem}}} also links to http://mathworld.wolfram.com/BirthdayProblem.html

This template adds the page to Category:Wolfram Linked.


This is a template. There are many others. See Category:RCTemplates for a complete list of templates.