Difference between revisions of "Template:MathWorld"
Jump to navigation
Jump to search
imported>Pigsonthewing (rm second title; only two articles were using this and I have split the templates in them) |
imported>Pigsonthewing (Wrap {{Cite web}}) |
||
| Line 1: | Line 1: | ||
| − | <span class="citation mathworld" id="Reference-Mathworld-{{{title|{{{2|{{ | + | <span class="citation mathworld" id="Reference-Mathworld-{{{title|{{{2|{{PAGENAMEBASE}}}}}}}}">{{Cite web |
| + | |url = http://mathworld.wolfram.com/{{{1|{{{id|{{{urlname|}}}}}}}}}.html | ||
| + | |title = {{{2|{{{title|{{PAGENAMEBASE}}}}}}}} | ||
| + | |author = {{{3|{{{author|[[Eric W. Weisstein|Weisstein, Eric W.]]}}}}}} | ||
| + | |website = [[MathWorld]] | ||
| + | |accessdate = {{{4|{{{accessdate|}}}}}} | ||
| + | }} | ||
| + | </span><noinclude> | ||
{{documentation}} </noinclude> | {{documentation}} </noinclude> | ||
Revision as of 19:20, 26 August 2016
Weisstein, Eric W. "[[:Template:PAGENAMEBASE]]". MathWorld. URL–wikilink conflict (help)
| File:Ambox warning yellow.svg | 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.
Transclusion count updated automatically (see documentation). |
| File:OOjs UI icon information-progressive.svg | 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 is used for links or references to https://mathworld.wolfram.com/
Usage
{{MathWorld |id= |title= |author= |access-date= |ref= }}
where all parameters must be in title case.
Params
|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
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.
MathWorld2
Compare with:
- Code:
{{MathWorld2 |title=Gigantic Prime |id=GiganticPrime |access-date={{subst:TODAY}}}}
- Output: Eric W. Weisstein, Gigantic Prime ({{{title2}}}) at MathWorld.
See also
- {{PlanetMath}}
| The above documentation is transcluded from Template:MathWorld/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |