Difference between revisions of "Template:MathWorld/doc"
Jump to navigation
Jump to search
imported>Tentacles |
imported>Tentacles (usage) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| − | |||
This template is used for references to http://mathworld.wolfram.com. | This template is used for references to http://mathworld.wolfram.com. | ||
| + | |||
| + | == Usage == | ||
| + | |||
| + | <pre> | ||
| + | {{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.]]}}} | ||
| + | }} | ||
| + | </pre> | ||
== Params == | == Params == | ||
Revision as of 18:24, 11 April 2016
| 40px | 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.]]}}}
}}
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}}