Difference between revisions of "Template:MathWorld/doc"
Jump to navigation
Jump to search
imported>Tentacles (→Usage: where all parameters must be in title case) |
imported>Pigsonthewing (update) |
||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| − | This template is used for references to http://mathworld.wolfram.com | + | This template is used for links or references to http://mathworld.wolfram.com |
== Usage == | == Usage == | ||
| Line 9: | Line 9: | ||
| id = {{{id|{{{urlname|{{{1|}}}}}}}}} | | id = {{{id|{{{urlname|{{{1|}}}}}}}}} | ||
| title = {{{title|{{{2|{{PAGENAME}}}}}}}} | | title = {{{title|{{{2|{{PAGENAME}}}}}}}} | ||
| − | |||
| − | |||
| author = {{{author|[[Eric W. Weisstein|Weisstein, Eric W.]]}}} | | author = {{{author|[[Eric W. Weisstein|Weisstein, Eric W.]]}}} | ||
}} | }} | ||
| Line 35: | Line 33: | ||
:Output: {{MathWorld |title=Gigantic Prime |id=GiganticPrime}} | :Output: {{MathWorld |title=Gigantic Prime |id=GiganticPrime}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== See also == | == See also == | ||
| Line 50: | Line 42: | ||
<includeonly> | <includeonly> | ||
| − | <!-- ADD CATEGORIES | + | <!-- ADD CATEGORIES LINKS AFTER THIS LINE --> |
[[Category:Mathematics source templates|{{PAGENAME}}]] | [[Category:Mathematics source templates|{{PAGENAME}}]] | ||
[[Category:Mathematics websites]] | [[Category:Mathematics websites]] | ||
</includeonly> | </includeonly> | ||
Revision as of 19:15, 26 August 2016
| 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 links or references to http://mathworld.wolfram.com
Contents
Usage
{{MathWorld
| id = {{{id|{{{urlname|{{{1|}}}}}}}}}
| title = {{{title|{{{2|{{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.
See also
- {{Mathworld2}}
- {{PlanetMath}}
- {{ScienceWorld}}
- {{ScienceWorldBiography}}