Difference between revisions of "Template:MathWorld/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
(→‎See also: * {{tl|WolframAlpha}})
imported>Hyacinth
(→‎Example: ===MathWorld2=== Compare with: *Code:<code><nowiki>{{MathWorld2 |title=Gigantic Prime |id=GiganticPrime |access-date={{subst:TODAY}}}}</nowiki></code> :Output: {{MathWorld2 |title=Gigantic Prime |title2=Primes |id=GiganticPrime |access-date={{TODAY}}}}===MathWorld2=== Compare with: *Code:<code><nowiki>{{MathWorld2 |title=Gigantic Prime |id=GiganticPrime |access-date={{subst:TODAY}}}}</nowiki></code> :Output: {{MathWorld2 |title=Gigantic Prime |title2=Primes |id=GiganticPrime |a)
Line 22: Line 22:
  
 
== Example ==
 
== Example ==
 +
===MathWorld===
 
*Code: <code><nowiki>{{MathWorld |title=Gigantic Prime  
 
*Code: <code><nowiki>{{MathWorld |title=Gigantic Prime  
 
|id=GiganticPrime |access-date={{subst:TODAY}}}}</nowiki></code>
 
|id=GiganticPrime |access-date={{subst:TODAY}}}}</nowiki></code>
  
 
:Output: {{MathWorld |title=Gigantic Prime |id=GiganticPrime |access-date={{TODAY}}}}
 
:Output: {{MathWorld |title=Gigantic Prime |id=GiganticPrime |access-date={{TODAY}}}}
 +
 +
===MathWorld2===
 +
Compare with:
 +
*Code:<code><nowiki>{{MathWorld2 |title=Gigantic Prime
 +
|id=GiganticPrime |access-date={{subst:TODAY}}}}</nowiki></code>
 +
 +
:Output: {{MathWorld2 |title=Gigantic Prime |title2=Primes |id=GiganticPrime |access-date={{TODAY}}}}
  
 
== See also ==
 
== See also ==

Revision as of 05:55, 1 March 2019

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

Usage

{{MathWorld |id= |title= |author= |access-date=}}

where all parameters must be in title case.

Params

  1. |id= - e.g.: GammaFunction
  2. |title= - e.g.: Gamma Function; defaults to page name
  3. |author= (optional) e.g.: John Doe (default is Eric Wolfgang Weisstein)
  4. |access-date= - for use in citations

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

MathWorld

  • Code: {{MathWorld |title=Gigantic Prime |id=GiganticPrime |access-date={{subst:TODAY}}}}
Output: Weisstein, Eric W. "Gigantic Prime". MathWorld. Retrieved Template:TODAY. Check date values in: |access-date= (help)

MathWorld2

Compare with:

  • Code:{{MathWorld2 |title=Gigantic Prime |id=GiganticPrime |access-date={{subst:TODAY}}}}
Output: Eric W. Weisstein, Gigantic Prime (Primes) at MathWorld.

See also