Template:Wolfram: Difference between revisions

From Rosetta Code
Content added Content deleted
(For links to wolfram problem pages... For the moment, I'll just add one example link, as maybe there will be a discussion about external links to commercial webpages?.)
 
m (fix syntax.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://mathworld.wolfram.com/{{{1|{{PAGENAMEE}}}}}{{{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 ==
<pre>{{Wolfram|FullArticleName}}</pre>
<pre>{{Wolfram|FullArticleName}}</pre>
<pre>{{Wolfram|Full|Article|Name}}</pre>
* 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 etc parameters are conjoined in the link (BirthdayProblem), but space separated in the text (Birthday Problem).


===Example===
===Example===
<pre>
* <nowiki>{{{Wolfram|BirthdayProblem}}}</nowiki> links to http://mathworld.wolfram.com/BirthdayProblem.html
* <nowiki>{{{Wolfram|Birthday|Problem}}}</nowiki> also links to http://mathworld.wolfram.com/BirthdayProblem.html
<nowiki>{{{Wolfram|BirthdayProblem}}}</nowiki> links to http://mathworld.wolfram.com/BirthdayProblem.html
<nowiki>{{{Wolfram|Birthday|Problem}}}</nowiki> also links to http://mathworld.wolfram.com/BirthdayProblem.html
</pre>
This template adds the page to [[:Category:Wolfram Linked]].
This template adds the page to [[:Category:Wolfram Linked]].
{{template}}</noinclude>
{{template}}</noinclude>

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.