Permanently protected template

Template:PlanetMath reference

From Vigyanwiki
(Redirected from 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.

Template documentation


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

  • "Quotient ring". PlanetMath.

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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

PlanetMath reference

[[Category:Templates using TemplateData{{#translation:}}]]

A reference to a PlanetMath page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Canonical name of PlanetMath pageurlname

Canonical name as given in table on bottom of targeted PlanetMath page

Example
QuotientRing
Auto value
AsGivenNearBottomOfPlanetMathPage
Stringrequired
old PlanetMath idid

Deprecated. Former numerical PlanetMath page ID. Used to form the PlanetMath page URL.

Example
5815
Numberdeprecated
Titletitle 2

Human-readable title, the way it should appear in the Wikipedia article.

Example
Quotient ring
Stringsuggested
PlanetMath versionversion

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.

Example
13
Numberdeprecated
PlanetMath authorauthor

If given, shown before the content link. Main author of PlanetMath article, as given near bottom of PlanetMath page.

Example
mathwiz
Stringoptional
Access dateaccess-date accessdate

Date of last successful access to the PlanetMath page. If given, shown at end of entry.

Example
2021-12-23
Auto value
YYYY-mm-DD
Dateoptional

See also