Difference between revisions of "Template:MathWorld/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
imported>Pigsonthewing
m (ce)
Line 3: Line 3:
 
This template is used for links or references to http://mathworld.wolfram.com
 
This template is used for links or references to http://mathworld.wolfram.com
  
<sup>Superscript text</sup>== Usage ==
+
== Usage ==
  
 
<pre>{{MathWorld |id=  |title= |author= |accessdate }}</pre>
 
<pre>{{MathWorld |id=  |title= |author= |accessdate }}</pre>

Revision as of 19:20, 26 August 2016

This template is used for links or references to http://mathworld.wolfram.com

Usage

{{MathWorld |id=  |title= |author= |accessdate }}

where all parameters must be in title case.

Params

Param id or urlname

e.g.: GammaFunction

Param title

e.g.: Gamma Function

Param author (optional)

e.g.: John Doe (default is Eric W. Weisstein)

HTML anchor

The template uses a HTML anchor of #Reference-Mathworld-(article name). Thus, to reference a MathWorld article entitled "Gigantic Prime" using Harvard style references, use ([[#Reference-Mathworld-Gigantic Prime|Weisstein]]) which will display as: (Weisstein). When clicked, the link is to the reference in the following example.

Example

  • Code: {{MathWorld |title=Gigantic Prime |id=GiganticPrime}}
Output: Weisstein, Eric W. "Gigantic Prime". MathWorld.

See also