Template:PlanetMath reference
WARNING: For this template to work, the urlname parameter needs to be used. The id parameter does not work any more (PlanetMath redirects all such links to its main page instead of finding the intended article) due to changes at the "planetmath.org" site during year 2018.
This template survived a merge and deletion proposal earlier during year 2016: Wikipedia:Templates_for_discussion/Log/2016_September_20#Template:PlanetMath. A similar Template:PlanetMath still works but see the old discussion about objections.
This template is for adding a reference to an article in PlanetMath, a free community encyclopedia of mathematics.
Usage
Suppose you want to add a reference to PlanetMath's article on quotient rings. The title of this article is "quotient ring". Go to PlanetMath to figure out the required URL name, in this case `QuotientRing`, and use it as the `urlname` parameter value.
On the PlanetMath page, besides in the URL itself, you can find the required urlname value at the bottom of the page, under `Canonical name`. If you know only an approximate title, you can also search for it on https://planetmath.org/msc.html .
The code
* {{PlanetMath reference|urlname=QuotientRing|title=Quotient ring}}
will produce the link
PlanetMath used to use so-called object ids, but as of 2021-12-24 does not support these any more. For example, the object id of the "quotient ring" article used to be 470. Below the article, a list of attributes still gives a "numerical id", 18 in the "quotient ring" example. Apparently this numerical ID has no relationship to the old ID value. If this is correct, the "numeric id" can not be used to get existing id-style references on Wikipedia working again. This template still supports the id parameter, in the unchanged form that no longer works.
There are optional author
, version
and accessdate
parameters
* {{PlanetMath reference|urlname=QuotientRing|title=Quotient ring|author= David Jao| version=13 | accessdate=14 April 2012}}
will produce
- David Jao. "Quotient ring". PlanetMath. 13. Retrieved 14 April 2012.
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
PlanetMath reference
A reference to a PlanetMath page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Canonical name of PlanetMath page | urlname | Canonical name as given in table on bottom of targeted PlanetMath page
| String | required |
old PlanetMath id | id | Deprecated. Former numerical PlanetMath page ID. Used to form the PlanetMath page URL.
| Number | deprecated |
Title | title 2 | Human-readable title, the way it should appear in the Wikipedia article.
| String | suggested |
PlanetMath version | version | If given, added after link to PlanetMath. Used to refer to a PlanetMath revision. It was necessary to form a complete PlanetMath URL. However, at the user level, the revision concept does not seem to exist any more. In particular, the revision is no longer needed to form the URL.
| Number | deprecated |
PlanetMath author | author | If given, shown before the content link. Main author of PlanetMath article, as given near bottom of PlanetMath page.
| String | optional |
Access date | access-date accessdate | Date of last successful access to the PlanetMath page. If given, shown at end of entry.
| Date | optional |
See also
- {{PlanetMath}}
- {{PlanetMath attribution}}