Template:MathWorld/doc
< Template:MathWorld
Jump to navigation
Jump to search
Revision as of 18:25, 11 April 2016 by imported>Tentacles (→Usage: where all parameters must be in title case)
| File:Edit-copy green.svg | This is a documentation subpage for Template:MathWorld. It contains usage information, categories and other content that is not part of the original template page. |
This template is used for references to http://mathworld.wolfram.com.
Contents
Usage
{{MathWorld
| id = {{{id|{{{urlname|{{{1|}}}}}}}}}
| title = {{{title|{{{2|{{PAGENAME}}}}}}}}
| id2 = {{{id2|{{{urlname2|{{{3|}}}}}}}}}
| title2 = {{{title2|{{{4|{{PAGENAME}}}}}}}}
| author = {{{author|[[Eric W. Weisstein|Weisstein, Eric W.]]}}}
}}
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.
- Code:
{{MathWorld |title=Gigantic Prime |id=GiganticPrime|title2=Prime Number|id2=PrimeNumber}}
- Output: Weisstein, Eric W. "Gigantic Prime". MathWorld. Unknown parameter
|title2=ignored (help); Unknown parameter|id2=ignored (help)
See also
- {{Mathworld2}}
- {{PlanetMath}}
- {{ScienceWorld}}
- {{ScienceWorldBiography}}