Difference between revisions of "Template:MathWorld/doc"
Jump to navigation
Jump to search
imported>Matthiaspaul (updated) |
imported>Matthiaspaul (updated) |
||
| Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
| − | <pre>{{MathWorld |id= |title= |author= | | + | <pre>{{MathWorld |id= |title= |author= |access-date=}}</pre> |
where all parameters must be in [[title case]]. | where all parameters must be in [[title case]]. | ||
| Line 16: | Line 16: | ||
# {{Para|title}} - e.g.: Gamma Function; defaults to page name | # {{Para|title}} - e.g.: Gamma Function; defaults to page name | ||
# {{Para|author}} (optional) e.g.: John Doe (default is ''Eric Wolfgang Weisstein'') | # {{Para|author}} (optional) e.g.: John Doe (default is ''Eric Wolfgang Weisstein'') | ||
| − | # {{Para| | + | # {{Para|access-date}} - for use in citations |
== HTML anchor == | == HTML anchor == | ||
Revision as of 08:59, 15 August 2017
| 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 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 http://mathworld.wolfram.com
Contents
Usage
{{MathWorld |id= |title= |author= |access-date=}}
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
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.
See also
- {{Mathworld2}}
- {{PlanetMath}}
- {{ScienceWorld}}
- {{ScienceWorldBiography}}