Template:MathWorld/doc
Appearance
This is a documentation subpage for Template:MathWorld. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template uses Lua: |
This template is used for links or references to https://mathworld.wolfram.com/
Usage
[edit]{{MathWorld |id= |title= |author= |access-date= |ref= }}
where all parameters must be in title case.
Params
[edit]|id=
- e.g.: GammaFunction|title=
- e.g.: Gamma Function; defaults to page name|author=
(optional) e.g.: John Doe (default is Eric Wolfgang Weisstein)|access-date=
- for use in citations|ref=
- to mark a reference anchor name to match {{sfn}}-style references|mode=
- "cs1" (the default) or "cs2" for Citation Style 1 or Citation Style 2
HTML anchor
[edit]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
[edit]MathWorld
[edit]- Code:
{{MathWorld |title=Gigantic Prime |id=GiganticPrime |access-date={{subst:TODAY}}}}
- Output: Weisstein, Eric W. "Gigantic Prime". MathWorld. Retrieved 17 November 2024.
MathWorld2
[edit]Two article version:
- Code:
{{MathWorld2|title = Prime Number|urlname = PrimeNumber|title2 = Primes|urlname2 = Primes|access-date={{subst:TODAY}}}}
- Output: Weisstein, Eric W., "Prime Number" ("Primes") at MathWorld.
See also
[edit]- {{PlanetMath}}
- {{MathWorld}} (MathWorld)
- {{MathWorld2}}
- {{ScienceWorld}}
- {{ScienceWorldBiography}}
- {{WolframAlpha}} (Wolfram Alpha)
- {{WolframDemonstrationsProject}} (Wolfram Demonstrations Project)
- {{WolframFunctionsSite}} (Wolfram Research)
- {{Wolfram Research}}